There are lots of ways to do this:
1. In your project you can add a reference to Microsoft.VisualBasic and use the IsNumeric function that is contained within that Namespace.
2. You can loop through the string char by char and call Char.IsDigit()
3. You can use regular expressions to determine if the string contains only numeric values.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429