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

Explain the difference between an exe and a dll?

608


What does asp stand for in asp.net?

628


Which method is used to perform all validation at the page level?

626


Is sql backend or frontend?

644


Explain difference between friend and protected friend?

613






Define satellite assemblies.

669


Can asp.net work on an nt server?

633


How to implement Authentication and Authorization?

652


Define the types of configuration files.

621


What are sql joins?

659


Describe how ASP.NET maintains process isolation for each Web application?

675


Why session is used in asp.net?

619


What are the different types of Caching techniques in ASP.NET?

672


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

634


how to transfer the file from client to server using asp.net

684