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
infopath regular expressions
Dynamically passing the parameter the service constructor (without configuration file)
Remove header from array created using Get-QADComputer cmdlet?
WD My Book Drive Failing or Not, Given Windows 7 Event Log Errors?
asp - The resource could not be found
what is the default directory to run jsp file from tomcat 5.5 and what directory for mysql_connector.jar file to be placed?
Creating a Linux ready CD-R style boot disc ...
Remove space from textbox automatically
perl regexp with div tags and space
Outlook 2007 does not remember password.