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

How does the regular expression validator work? What are two
situations when you might want to use one?

Answer Posted / pallavi

E-mail: <asp:textbox id="textbox1" runat="server"/>
<asp:RegularExpressionValidator id="valRegEx" runat="server"
ControlToValidate="textbox1"
ValidationExpression=".*@.*"
ErrorMessage="* Your entry is not a valid e-mail address."
display="dynamic">*
</asp:RegularExpressionValidator>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is considered a service provider?

933


Explain ViewState?

1015


Explain how cookies work.

1028


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

958


What is custom attribute?

957


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

1012


What is a ashx file?

1097


What is custom events?

1029


Describe session handling in a webfarm, how does it work and what are the limits?

1071


What is asp.net caching?

1003


Why is an object pool required?

1018


Explain about the Class view window?

969


Describe state management in asp.net?

1039


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

992


Why do we need url encoding?

958