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

Explain different authentication modes in asp.net?

1121


Explain method to handle error using HttpError in Web API?

1018


What is session in http request?

972


What is difference between cookies and cache?

1013


How about the security in Activex DLL and Activex EXE ?

2238


What is asp.net web application?

1005


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

970


Explain Life cycle of ASP.NET page when a request is made.

1185


Who is using asp.net?

914


How do active server pages work?

942


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

981


In which event of page cycle is the viewstate available?

978


Which authentication uses a combination of windows and iis authentication?

1035


How would you get asp.net running in apache web servers? Explain it's limitations.

941


How could you modify xaml content from javascript?

971