Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is Someone aware of this Error? Pin
Alomgir Miah7-Jul-05 5:57
Alomgir Miah7-Jul-05 5:57 
GeneralRe: Is Someone aware of this Error? Pin
just4ulove77-Jul-05 7:48
just4ulove77-Jul-05 7:48 
GeneralRe: Is Someone aware of this Error? Pin
Guffa7-Jul-05 7:55
Guffa7-Jul-05 7:55 
GeneralRe: Is Someone aware of this Error? Pin
just4ulove77-Jul-05 7:59
just4ulove77-Jul-05 7:59 
GeneralRe: Is Someone aware of this Error? Pin
Guffa7-Jul-05 8:20
Guffa7-Jul-05 8:20 
GeneralRe: Is Someone aware of this Error? Pin
Dave Kreskowiak7-Jul-05 8:02
mveDave Kreskowiak7-Jul-05 8:02 
GeneralRe: Is Someone aware of this Error? Pin
just4ulove77-Jul-05 8:06
just4ulove77-Jul-05 8:06 
GeneralRe: Is Someone aware of this Error? Pin
Dave Kreskowiak7-Jul-05 9:45
mveDave Kreskowiak7-Jul-05 9:45 
When you're converting a string to any kind of object, if the object has a Parse method, use it. IMHO, it's always going to work better than the more generic methods in Convert. Also, Parse deals with whitespace and invalid character issues better. I've almost gotten away with never using Convert in any of my apps...

There is no difference between a TextBox's Text property and a String. The Text property returns a String object, so, the only possible problem is an input error in the TextBox. If you include leading and/or trailing spaces, tabs, incorrect formatting characters, ..., Convert might not work whereas Parse might.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

AnswerRe: Is Someone aware of this Error? Pin
Guffa7-Jul-05 6:25
Guffa7-Jul-05 6:25 
GeneralDataTable Tree Question Pin
Markus1980Wien7-Jul-05 4:46
Markus1980Wien7-Jul-05 4:46 
GeneralRe: DataTable Tree Question Pin
Alomgir Miah7-Jul-05 5:10
Alomgir Miah7-Jul-05 5:10 
GeneralRe: DataTable Tree Question Pin
Markus1980Wien7-Jul-05 7:23
Markus1980Wien7-Jul-05 7:23 
GeneralRe: DataTable Tree Question Pin
Alomgir Miah7-Jul-05 7:55
Alomgir Miah7-Jul-05 7:55 
GeneralWatching for a file Pin
Andy *M*7-Jul-05 3:50
Andy *M*7-Jul-05 3:50 
GeneralRe: Watching for a file Pin
Guffa7-Jul-05 3:55
Guffa7-Jul-05 3:55 
GeneralRe: Watching for a file Pin
Andy *M*7-Jul-05 4:05
Andy *M*7-Jul-05 4:05 
GeneralRe: Watching for a file Pin
squawk7-Jul-05 16:42
squawk7-Jul-05 16:42 
QuestionHow to detect if Themes are enabled in .NET 2.0? Pin
Carl Mercier7-Jul-05 3:21
Carl Mercier7-Jul-05 3:21 
AnswerRe: How to detect if Themes are enabled in .NET 2.0? Pin
WillemM7-Jul-05 3:46
WillemM7-Jul-05 3:46 
GeneralRe: How to detect if Themes are enabled in .NET 2.0? Pin
Anonymous7-Jul-05 6:59
Anonymous7-Jul-05 6:59 
GeneralRe: How to detect if Themes are enabled in .NET 2.0? Pin
Carl Mercier7-Jul-05 7:03
Carl Mercier7-Jul-05 7:03 
GeneralRe: How to detect if Themes are enabled in .NET 2.0? Pin
WillemM7-Jul-05 7:40
WillemM7-Jul-05 7:40 
AnswerRe: How to detect if Themes are enabled in .NET 2.0? Pin
Daniel Grunwald7-Jul-05 4:36
Daniel Grunwald7-Jul-05 4:36 
GeneralRe: How to detect if Themes are enabled in .NET 2.0? Pin
Carl Mercier7-Jul-05 7:08
Carl Mercier7-Jul-05 7:08 
GeneralRe: How to detect if Themes are enabled in .NET 2.0? Pin
Andy Moore7-Jul-05 7:28
Andy Moore7-Jul-05 7:28 

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.