Response to: to validate for numbers and alphabets in c# asp.net2.0 in codebehind file
Latest Revision
Hi,
Try this:
bool includesNotOnlyNumeric = Regex.IsMatch(textBox.Text, @"\D");
if (includesNotOnlyNumeric)
{
}
else
{
}
Posted 28-Dec-12 22:18pm
by
Thomas Daniels.