•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 422,913 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,286 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 353 | Replies: 4 | Solved
![]() |
•
•
Join Date: Dec 2007
Posts: 84
Reputation:
Rep Power: 1
Solved Threads: 4
You can use RangeValidator for your requirement.Try this!
<asp:RangeValidator ID="validateage" runat="server" Type="Integer" ControlToValidate="txtage" MinimumValue="1"
MaximumValue="100" ErrorMessage="Your age must be between 1 and 100" Display="Dynamic" ></asp:RangeValidator>![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Regular Expressions (VB.NET)
- Parsing a log file using regular expressions (C#)
- regular expressions (C#)
- PHP4 regular expressions? (PHP)
- Regular Expressions with Decimal Points (Java)
- Regular Expressions (C#)
- Regular Expressions (Computer Science and Software Design)
- Regular Expressions (C#)
- mod_rewrite: help with regular expressions (Linux Servers and Apache)
- matching regular expressions (Java)
Other Threads in the ASP.NET Forum
- Previous Thread: Help executing Script!!!
- Next Thread: Control to display categories and subcategories


Linear Mode