i have a register form & in that form i have a 2 textboxes
for entering name&age.my doubt is that how can i provide
error message like "invalid entry" when user enter a
invalid name/age(eg:user enter name as #%%%##daff,and age
as 1000.)in that textboxes.I want code.

Answer Posted / saravanakumar

We can use RegularExpressionValidator to validate the textbox content.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can I get the details on migration of existing projects using various technologies to asp.net?

511


How does exception management works in ASP.NET?

603


How is the asp.net mvc architecture different from others? : asp.net mvc

470


What is app_code folder in asp net?

525


What is the difference between the asp and asp.net?

483






What are the different methods of session maintenance in asp.net?

521


Which browsers support the xmlhttprequest object?

509


Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

504


List the asp.net validation controls?

521


Explain MVC model binders?

591


Can you clarified A Web service can only be written in .NET or not?

531


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

556


What are the page life cycle events?

484


What is the usage of DelegatingHandler?

583


Where the assembly is stored in asp.net?

544