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

What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

2368


Can you explain page lifecycle in net?

977


Why do we use datasource in asp.net?

971


How to retrieve user name in case of Window Authentication?

748


How does the cookies work in asp.net?

1165


What is the difference between CC and BCC?

1063


What is sdlc process?

994


What are the new web part controls in asp.net 2.0 ?

1039


How do you change the session time-out value?

1050


What are the major built-in objects in ASP.NET?

1102


Can you dynamically assign a Master Page?

992


What is difference between view state and session state?

853


What is the purpose of App_Code folder in ASP.NET? Why we this?

1256


What are the new login controls in asp.net 2.0?

986


Which is the parent class of the web server control?

1062