I want to create a text box where in i want to enter email address only. How to do that ?
sravanti rachala
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TBMailId" ErrorMessage="check ur mail id" style="z-index: 1; left: 452px; top: 549px; position: absolute" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
Hi
In your C# Web Application, In the aspx page Use RegularExpressionValidator
Hey You can use this code
In C# Web Application Use RegularExpressionValidator