Click here to Skip to main content
11,642,855 members (73,069 online)
Click here to Skip to main content

Tagged as

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

, 23 Sep 2011 CPOL 4.6K 1
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

You may also be interested in...

Comments and Discussions

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