Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the significance of ASP.NET routing?

1027


What is a postback ispostback and autopostback in asp net?

844


Where is the view state data stored?

935


How can we create pie chart in asp.net?

1026


What is the difference between union and structure?

914


How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?

2617


Can we have multiple web config files for an asp.net application?

932


When should I use server transfer and response redirect?

926


is gateway for sms continue connected for sending sms.how?

2217


What are Authentication and Authorization?

1049


What are the session management techniques asp net?

947


What are the different kinds of assemblies?

891


What is a proxy in web service?

1026


Differences between “dataset” and “datareader”.

981


How does session state work in asp.net?

961