Click here to Skip to main content
16,006,594 members
Home / Discussions / C#
   

C#

 
GeneralRe: using windows messages Pin
Dave Kreskowiak4-Nov-04 7:08
mveDave Kreskowiak4-Nov-04 7:08 
GeneralRe: using windows messages Pin
sianatia4-Nov-04 7:18
sianatia4-Nov-04 7:18 
GeneralRe: using windows messages Pin
Dave Kreskowiak4-Nov-04 8:17
mveDave Kreskowiak4-Nov-04 8:17 
GeneralRe: using windows messages Pin
sianatia4-Nov-04 20:18
sianatia4-Nov-04 20:18 
GeneralRe: using windows messages Pin
Dave Kreskowiak5-Nov-04 0:25
mveDave Kreskowiak5-Nov-04 0:25 
GeneralRe: using windows messages Pin
Jay Shankar4-Nov-04 15:47
Jay Shankar4-Nov-04 15:47 
GeneralRe: using windows messages Pin
Nick Parker4-Nov-04 16:27
protectorNick Parker4-Nov-04 16:27 
GeneralParsing Pin
webhay4-Nov-04 6:39
webhay4-Nov-04 6:39 
Thanks for all helper here Smile | :)

now if i have textbox some times have value need parsing and another time null the parsing method desnt work when the textbox null and throw exception "input string was not in correct formt"

how can i stop parsing method if the textbox havnt any value
i tryed this code but it is not good to enter a zero in the field without value

if(txtPhone2.Text.Trim().Length !=0)<br />
			{<br />
				Phone2 = decimal.Parse(txtPhone2.Text.Trim());<br />
			}<br />
			else<br />
			{<br />
				Phone2=0;<br />
			}


Thanks
GeneralRe: Parsing Pin
Luis Alonso Ramos4-Nov-04 6:59
Luis Alonso Ramos4-Nov-04 6:59 
GeneralRe: Parsing Pin
Charlie Williams4-Nov-04 7:22
Charlie Williams4-Nov-04 7:22 
GeneralCustom Control Properties Pin
MrEyes4-Nov-04 6:10
MrEyes4-Nov-04 6:10 
Generalincrementing ascii characters in c# Pin
JeromeKJerome4-Nov-04 6:06
JeromeKJerome4-Nov-04 6:06 
GeneralRe: incrementing ascii characters in c# Pin
JeromeKJerome4-Nov-04 7:20
JeromeKJerome4-Nov-04 7:20 
GeneralRe: incrementing ascii characters in c# Pin
leppie4-Nov-04 7:44
leppie4-Nov-04 7:44 
GeneralRe: incrementing ascii characters in c# Pin
Ami Bar4-Nov-04 8:12
Ami Bar4-Nov-04 8:12 
GeneralRemoting server Pin
Gavin Jeffrey4-Nov-04 3:30
Gavin Jeffrey4-Nov-04 3:30 
GeneralRe: Remoting server Pin
Anonymous5-Nov-04 8:19
Anonymous5-Nov-04 8:19 
GeneralInstancing child class in base class Pin
Insert Cool Screen Name Here4-Nov-04 2:19
Insert Cool Screen Name Here4-Nov-04 2:19 
GeneralRe: Instancing child class in base class Pin
sreejith ss nair4-Nov-04 16:54
sreejith ss nair4-Nov-04 16:54 
GeneralRe: input string not in a correct format Pin
Jordi Corominas4-Nov-04 1:42
Jordi Corominas4-Nov-04 1:42 
GeneralC# interface Pin
skrishnasarma4-Nov-04 1:40
skrishnasarma4-Nov-04 1:40 
GeneralRe: C# interface Pin
Corinna John4-Nov-04 2:04
Corinna John4-Nov-04 2:04 
GeneralRe: C# interface Pin
jan larsen4-Nov-04 2:43
jan larsen4-Nov-04 2:43 
GeneralRe: C# interface Pin
Nemanja Trifunovic4-Nov-04 2:51
Nemanja Trifunovic4-Nov-04 2:51 
GeneralRe: C# interface Pin
jan larsen4-Nov-04 3:12
jan larsen4-Nov-04 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.