Textbox validation
I am very curious to know whether there is any function in C#.net
same as 'IsNumeric' and 'not IsNumeric' as we have in VB6.
Suppose in my application I have a textbox In which I am suppose to enter Name of person, and instead I enter a digit/number I should get the message that "Name should be alphabetical "
viceversa
if I add two numbers entered in two textbox, and instead I enter a
alphabet/word should get a messageBox Flashed.
If there is any function please tell me.
Or Please Suggest a suitable method with C# language.....
|