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 are sessions and cookies?

974


Why is xap important?

1008


What is the difference between session and viewstate?

962


What is global.asax file used for?

1027


What are the differences between clr & cts?

1078


Explain the difference between inline and code behind - which is best in?

1008


What are the asp.net security controls?

1167


What is the use of web.config and machine.config files?

1151


What is the difference between custom controls and user controls?

943


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

991


What is full trust in asp.net?

1090


How you can stop the validation of ASP.NET controls from client side?

1041


Please briefly explain the usage of global.asax?

964


What’s the use of “GLOBAL.ASAX” file?

1097


Explain about Application and Session Events ?

1070