Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Tagged as

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

, 23 Sep 2011
Rate this:
Please Sign up or sign in to vote.
using Microsoft.VisualBasic;// Codebool result = Information.IsNumeric("123");
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)

Share

About the Author

Anshul R
Student
India India
No Biography provided

Comments and Discussions

 
GeneralRe: thank you for that PinmemberAria Wijaya4-Oct-11 16:21 
GeneralI dont quite follow pranav95, please elaborate, this is a ps... PinmemberAria Wijaya24-Sep-11 16:47 
GeneralRe: Okay. IsNumeric checks if the given string contains only nu... Pinmemberpranav9527-Sep-11 16:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140814.1 | Last Updated 23 Sep 2011
Article Copyright 2011 by Anshul R
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid