|
Repost from the Lounge from several weeks ago.
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
My bad. The Lounge gets littered with so much noise, my trips there have been few and far between lately. Sorry about that, Ed.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Not a problem.
In fact Link2006 has been away for a while so there hasn't been that much rubbish, he did appear in the last few days but got beaten away by the usual crowd.
As of how to accomplish this I wouldn't have a clue at the moment and I'm too lazy to google it
|
|
|
|
|
Wee! I've been wondering how I could turn 4 lines of readable code into a book of cryptic unreadable crap! This is just what the doctor ordered! Can I get kool-aid with that?
Correct me if I'm missing something here, but where is the benefit of trading curly braces for an endless parade of XML tags? Unless there's a tool out there that craps out all that XML, which I doubt Petzold would endourse because it looks like he's not a big fan of code generation, then CSAML will take 10 times as long to produce code by hand.
If the current C# syntax is gone in '08 to be replaced with this mess, I guess I'll be grudgingly going back to Java.
|
|
|
|
|
© Charles Petzold, April 1, 2006
|
|
|
|
|
Is this a joke?
How is that utterly unreadable nonsense going to make anything at all easier?
|
|
|
|
|
Heywood wrote: Is this a joke?
Of course. Notice the "joke" icon.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Well it looks real enough, the goofy dude is publishing a book. And he talks like he's been an integral part of MS since the dinosaurs roamed the earth. Don't scare me like that.
|
|
|
|
|
BoneSoft wrote: ...the goofy dude is publishing a book.
Are you referring to this one?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Yeah, I'm guessing that's XAML... Wheew! Thought that was real for a minute.
|
|
|
|
|
|
hi
plz give an example how to connect to sql server with password in vs2005 with sqldataadapter .. because i define an accound in security > login in sqlserver and set password but when i drag and drop sqldataadapter in vs2005 to my form and canfigure it i can not connect to sqlserver in local mode ( my server is : (local) ) plesae give me an example with full source code and database ..
i use sqlserver2000
thanks ..
|
|
|
|
|
SqlConnection connection = new SqlConnection("Server=(local);Database=database;User ID=username;Password=plaintextpassword;Trusted_Connection=False");
connection.Open();
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
Hi all
Have an poblem with System.Windows.Forms.ContextMenu class
Suppose i have some groups in this menu and want to divide ones with split bar.
Only one way how i can achived this is System.Windows.Forms.MenuItem.BarBreak = true; But this bar split my menu by vertical and i want by horizontal.
Haw i can implement this??
Thank.
|
|
|
|
|
See this example :
this.menuItem1.Text = "A";
this.menuItem2.Text = "-";
this.menuItem3.Text = "B";
Then you will see:
A
------
B
|
|
|
|
|
|
Hi,
i tested email sending with both web.mail mailmessage and CDO com object. With both i could send mails but only to a specific address (say ali@server.com) ... i cannot send to any other ID, but i dont get any exception, Send() is executed for other addresses too, but not being delivered. Anyone know why?
Ali
|
|
|
|
|
hi all,how to disable the listbox(asp.net listbox)in clien-side.ie:when i click the checkbox(checked)this listbox should be disabled and should be enabled when the checkbox is unchecked.
Regards,
ayyp
|
|
|
|
|
You can't disable a server control using client side script, as the server control only exist while the page is created on the server. You have to disable the html element that the server control created.
---
b { font-weight: normal; }
|
|
|
|
|
thanks 4 u r replay.one more prob insted of using asp.net listbox i use html listbox for the same purpose but i can't get this htmllistbox control in my codebehind even i chenge it as runat=server (i can get this control in my code behind when the number of listitems are small but in my list box i have nearly 200 items )how to solve this any other way to do solve my prob apart from this.....?
ayyp
|
|
|
|
|
ayyp wrote: thanks 4 u r replay
"Thanks, for you are replay"?
No, I am not replay.
ayyp wrote: but i can't get this htmllistbox control in my codebehind even i chenge it as runat=server
There is no reason why you shouldn't be able to access it, regardless of the number of items in it. What is the error message that you get?
---
b { font-weight: normal; }
|
|
|
|
|
Hi All,
Greetings.In one of my application i'm using 2 text boxes for displaying date and time respectively.i'm using the following code.
DateTime dat = DateTime.Now;
txtBookDate.Text = dat.Date.ToString();
txtBookTime.Text = dat.TimeOfDay.ToString();
But the DATE TEXT BOX displying the o/p as 07/12/2006 12:00:00 AM.But i need to display only the date.Can any one help me to correst it.I've tried with some keywords.So reply me ASAP.
Reagrds
Babu
Babu
|
|
|
|
|
Hi,
use
<br />
txtBookDate.Text = dat.Date.ToString("MM/dd/yyyy");<br />
to show date without the time component.
Regards
Sebastian
|
|
|
|
|
Or you can use:
txtBookDate.Text = dat.ToShortDateString() ;
|
|
|
|
|
Man try this ...............................................
DateTime dat = DateTime.Now;
txtBookDate.Text = dat.ToShortDateString();
txtBookTime.Text = dat.ToShortTimeString();
Do good and have good.
|
|
|
|