Validate numeric data using C#Code Snippet
Some times we need to restrict the users to enter only numbers in a textbox.In VB.NET we have built-in function IsNumeric returning a Boolean value indicating whether expression can be evaluated as a number.
Lets try to check out equivalent in C#
Code: ASP.NET v1.0 & C#
|Code Written By: Sushila Bowalekar Patel
|To use the code above, click and drag your mouse over the code to highlight it. Then right click on the highlighted code and click "Copy." Now you may paste it into your code editor.
Submit Your Own Code to Codango