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
My laptop hp pavilion dv9000 suddenly doesnt start
Raid 1 Rebuild Failed - Adaptec 1210SA
DNS Server 2008 SBS errors
Virus and/or Malware redirecting my links
switching networks on a cicso asa5510
How to set a MySql root user password that has not been set
Windows XP BSOD 0x000000f4 (0x00000003, 0x86e69b50, 0x86e69cc4, 0x805fb146)
WPAD setting for local webcams
PHP_sessions
Access 2007 - Query Question