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 server-side scripting and client-side scripting.

926


Is viewstate secure?

962


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

1068


Explain the basic functionality of garbage collector?

984


They mostly asked difference between versions of technologies

1388


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1023


Where can I get information on cookies in asp.net?

1017


what are the Custom controls in asp.net?

1037


What is asp.net used for?

1096


What is the life cycle of an asp.net page?

923


Explain the working of passport authentication.

966


Why is an object pool required?

1040


Where viewstate value is stored in asp.net?

1086


Why session management is required?

1011


Explain the difference between overriding and overloading?

999