Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

Validate numeric textbox using int.tryparse visual C#.NET

0.00/5 (No votes)
23 Sep 2011CPOL 12.3K  
using Microsoft.VisualBasic;// Codebool result = Information.IsNumeric(123);
C#
using Microsoft.VisualBasic;

// Code

bool result = Information.IsNumeric("123");

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)