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 / satheshkumar

name textbox should follow the reqularexpersion valitator and age textbox should follow the range validator

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is asp.net a programming language or framework?

547


Describe the events in the life cycle of a web application.

596


Differentiate between early binding and late binding.

571


Which type if caching will be used if we want to cache the portion of a page instead of whole page?

499


What is cookies in asp net?

519






What is authentication in asp.net?

564


Define dll hell?

625


Explain the working of passport authentication.

541


What is another word for redirect?

506


What is the difference between c# and .net?

575


How can you dynamically add user controls to a page?

509


What are the session management techniques asp net?

559


What do you mean by authorization?

518


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

490


What is postback request?

550