Microsoft
Software
Hardware
Network
Question : validate text box for integer
I want a validate a text box so it has only integer neither empty nor leading spaces
Answer : validate text box for integer
Will this work for you?
int test;
if (int.TryParse(txt.Text, out test))
{
//successful
}
else
{
//error
}
Random Solutions
Hyperlink issues
Sonicwall TZ 100 configuration
vbscript create shortcut script, not completing script, no errors, code attached
sms gateway in asp.net
Cisco ASA questions
Walkie-Talkie recommendations
Assign the value to a script global variable from the Server side code
Dell Precision BIOS
Google Analytics
JAva Exception