


Código PHP:
<asp:TextBox id="ventaninos" runat="server" Width="70px"></asp:TextBox>
<asp:RequiredFieldValidator id="validar7" runat="server" ForeColor="Red" Display="Dynamic" ControlToValidate="venta">
* </asp:RequiredFieldValidator>
<asp:regularExpressionValidator
validationExpression="[0-9]*"
controlToValidate="ventaninos"
errorMessage="No es cantidad numerica"
runat="server"/>

chauuu