Click here to Skip to main content
15,906,766 members
Home / Discussions / C#
   

C#

 
AnswerRe: Comparision between 2 xml files Pin
Daniele Ferrero7-Jun-06 20:56
Daniele Ferrero7-Jun-06 20:56 
GeneralRe: Comparision between 2 xml files Pin
donymony7-Jun-06 20:58
donymony7-Jun-06 20:58 
GeneralRe: Comparision between 2 xml files Pin
Stefan Troschuetz7-Jun-06 21:35
Stefan Troschuetz7-Jun-06 21:35 
GeneralRe: Comparision between 2 xml files Pin
lmoelleb7-Jun-06 21:09
lmoelleb7-Jun-06 21:09 
GeneralRe: Comparision between 2 xml files Pin
Daniele Ferrero7-Jun-06 21:27
Daniele Ferrero7-Jun-06 21:27 
GeneralRe: Comparision between 2 xml files Pin
Stefan Troschuetz7-Jun-06 21:41
Stefan Troschuetz7-Jun-06 21:41 
GeneralRe: Comparision between 2 xml files Pin
donymony7-Jun-06 22:04
donymony7-Jun-06 22:04 
QuestionNetwork Programming Pin
alwz_nikhil7-Jun-06 19:09
alwz_nikhil7-Jun-06 19:09 
AnswerRe: Network Programming Pin
Daniele Ferrero7-Jun-06 21:35
Daniele Ferrero7-Jun-06 21:35 
QuestionOpening a console window from a WinForm Pin
k_v_w7-Jun-06 19:01
k_v_w7-Jun-06 19:01 
AnswerRe: Opening a console window from a WinForm Pin
Ed.Poore7-Jun-06 20:31
Ed.Poore7-Jun-06 20:31 
QuestionValidation IsNumeric in C# Pin
angelagke7-Jun-06 17:04
angelagke7-Jun-06 17:04 
AnswerRe: Validation IsNumeric in C# Pin
Christian Graus7-Jun-06 17:46
protectorChristian Graus7-Jun-06 17:46 
GeneralRe: Validation IsNumeric in C# Pin
angelagke7-Jun-06 19:21
angelagke7-Jun-06 19:21 
AnswerRe: Validation IsNumeric in C# Pin
alwz_nikhil7-Jun-06 19:03
alwz_nikhil7-Jun-06 19:03 
GeneralRe: Validation IsNumeric in C# Pin
angelagke7-Jun-06 19:25
angelagke7-Jun-06 19:25 
GeneralRe: Validation IsNumeric in C# Pin
Shajeel7-Jun-06 20:00
Shajeel7-Jun-06 20:00 
GeneralRe: Validation IsNumeric in C# Pin
Dustin Metzgar9-Jun-06 4:19
Dustin Metzgar9-Jun-06 4:19 
GeneralRe: Validation IsNumeric in C# Pin
Dustin Metzgar9-Jun-06 4:21
Dustin Metzgar9-Jun-06 4:21 
AnswerRe: Validation IsNumeric in C# [modified] Pin
rfjeld7-Jun-06 20:45
rfjeld7-Jun-06 20:45 
GeneralRe: Validation IsNumeric in C# [modified] Pin
Mairaaj Khan7-Jun-06 21:04
professionalMairaaj Khan7-Jun-06 21:04 
AnswerRe: Validation IsNumeric in C# Pin
Dave Doknjas8-Jun-06 16:32
Dave Doknjas8-Jun-06 16:32 
A couple of notes about the other replies:
1. You don't want to be catching exceptions as part of the normal logic flow. This is a well-accepted standard in software development.
2. You don't want to do this in a KeyPress event since that won't handle pasting code from another source.

For a more robust equivalent to VB's IsNumeric method see: http://www.tangiblesoftwaresolutions.com/Articles/CSharp%20Equivalent%20to%20IsNumeric.htm[^]

David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter
Instant C++: VB to C++ converter
Clear VB: Cleans up VB.NET code
GeneralRe: Validation IsNumeric in C# Pin
Mairaaj Khan8-Jun-06 20:13
professionalMairaaj Khan8-Jun-06 20:13 
GeneralRe: Validation IsNumeric in C# Pin
Dave Doknjas9-Jun-06 4:05
Dave Doknjas9-Jun-06 4:05 
GeneralRe: Validation IsNumeric in C# Pin
Mairaaj Khan9-Jun-06 20:20
professionalMairaaj Khan9-Jun-06 20:20 

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.