View Single Post
 
Old March 26th, 2007, 03:11 AM
rhd110 rhd110 is offline
Authorized User
 
Join Date: Mar 2007
Location: Pune, Maharashtra, India.
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.....