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
Windows 2k8 R2 Remote Desktop Services keeps disconnecting users
IRQL_NOT_LESS_OR_EQUAL MESSAGE
Proliant ML110 G4 Lost RAID and Randomly gives Error 0251
Count number of occurances in a string
LZMA compress / expand buffer api?
Email is being received but cannot send out
OS X Server 10.5 and OS X Laptops Joining accounts to Open Directory?
Javascript - how to add number to field name (dynamic field add script)
Mail delivery has failed
WRT54G2 Linksys router - reset password saving actual configuration