<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