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

Tagged as

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

, 23 Sep 2011 CPOL
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");


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


About the Author

Anshul R
India India
No Biography provided

Comments and Discussions

GeneralRe: thank you for that PinmemberAria Wijaya4-Oct-11 17:21 
GeneralI dont quite follow pranav95, please elaborate, this is a ps... PinmemberAria Wijaya24-Sep-11 17:47 
GeneralRe: Okay. IsNumeric checks if the given string contains only nu... Pinmemberpranav9527-Sep-11 17: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 | Terms of Use | Mobile
Web02 | 2.8.150302.1 | Last Updated 23 Sep 2011
Article Copyright 2011 by Anshul R
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid