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
jquery Colorbox login form redirect
.net Click Once With Silent Install
How can I create a list from a starting number and ending number in Excel?
What is Overloading?
Exchange 2010 inbound attachment size limit
What is the DOS path for Windows 7 My Documents?
Delete user from Bes Express but system still thinks they are in the database
Crystal Reports to Accept Parameters Then Display Reports Accordingly
Connect database created from Sharepoint 2010 beta in SharePoint 2010 RTM.
You Tube Download Software