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

Answers were Sorted based on User's Feedback



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

Answer / saranya

it is used to validate the standard format like date and
email

Is This Answer Correct ?    3 Yes 0 No

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

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

More ASP.NET Interview Questions

What does this do? sn -t foo.dll

3 Answers  


What is the difference between debug and release?

0 Answers  


how to encrypt a connection string in web.config file?

3 Answers   Hexaware,


Explain the role of global.asax?

0 Answers  


How many column in table of sql server?

3 Answers  






What are the benefits of Razor View?

0 Answers   NA,


How to convert a string into an Integer in ASP.net?

12 Answers  


when using personlization, how do you access over setting at runtime?

1 Answers  


What does mvc represent in asp.net? : asp.net mvc

0 Answers  


what is code access security,role based security explain with example

1 Answers   Infosys,


How many rules are there regarding a well formed XML document? a) Nine b) Three c) Six d) Two

1 Answers   Syntax Softtech,


what is wpf and wcf in .net explain with an example?

2 Answers  


Categories