Hello,
I am validating a textbox for TaxID using the foll code:
<asp:TextBox ID="txtTaxID" runat="server" Text='<%# Bind("nvchrTaxID") %>'></asp:TextBox>
<asp:RegularExpressionValidator ID="rvTaxID" runat="server" ControlToValidate="txtTaxID"
ValidationExpression="^\d{2}-\d{7}$" ErrorMessage="Invalid Tax ID"></asp:RegularExpressionValidator>
My question is I dont want to save the TaxID with dash(-) in the database.How do I do that? please reply