验证整数:
<asp:regularexpressionvalidator id="Regularexpressionvalidator1" Runat="server" ValidationExpression="^[0\d]+$"
ControlToValidate="txtNF" ErrorMessage="请输入数字形式!" isplay="Dynamic">*</asp:regularexpressionvalidator>
验证数据(可以带小数的)
<asp:textbox id="txtGDP" Runat="server"></asp:textbox> 亿元
<asp:regularexpressionvalidator id="RegularExpressionValidator2" Runat="server" Display="Dynamic" ControlToValidate="txtGDP" ValidationExpression="^-{0,1}(\d+|\d+\.\d+)$">*</asp:regularexpressionvalidator>