Solved

Digit's Counting

Posted on 2011-09-07
4
301 Views
Last Modified: 2012-06-27
Hi,
    I want to give range of digits count to my text box . minimum 4  Digits and Maximum 10 Digits. I tried using Range Validation but it showing Minimum Value. Could any one Help me to give  Range of Digit count Validation To My asp.Net Text Box. Thank you.
0
Comment
Question by:CPSRI
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
zvytas earned 500 total points
ID: 36494267
You can use Regular Expression validator with the following regexp:

(?:\d.*){4,10}
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36494349
1000 < value < 9999999999

will also do :)
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36494350
I meant

 1000 <= value <= 9999999999
0
 

Author Closing Comment

by:CPSRI
ID: 36494382
Thank You
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now