Solved

validation control ASP.net -- validate numeric

Posted on 2011-03-11
2
469 Views
Last Modified: 2012-05-11
What validation control would i use to determine if a user entered in a number vs any other value such as text?
0
Comment
Question by:vbnetcoder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 35113729
You would use a RangeValidator with its Type attribute attribute set to "Integer". Further reading:

    http://www.w3schools.com/aspnet/control_rangevalidator.asp
0
 

Author Closing Comment

by:vbnetcoder
ID: 35113832
ty
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Data organization issue 7 39
Asp.Net Session Question 2 36
ASP.net Moving Visual Studio 2015 project to 2017 2 41
asp.net repeater 2 17
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question