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
DAG & CAS array configured but it's not failover
How to find the row count in an Oracle DataReader in ASP.NET?
Exchange 2010 "RBAC" error in event log
PHP/Javascript newbie - need help integrating niftycube into my site
Looking for vista drivers for Sony pcg-8112l vista laptop
Which unit test tool contained in Visual Studio 2008?
XP 10 inbound connection limit question
Windows server 2003 terminal users unable to view png images in IE
How to Determine what SQL Databases are Installed & Running?
Still having issues pinging from one subnet to another through ASA 5510