<%@ Page Language="vb" %> Validation Control Example Validation Control Example RegularExpressionValidator Control: Enter a valid 5 or 9-digit zip code controltovalidate="zipcode" validationexpression="^\d{5}$|^\d{5}-\d{4}$" errormessage="Not a valid Zip code!" display="static" runat="server"/> RequiredFieldValidator Control: Enter a login name controltovalidate="login" display="static" errormessage="Login cannot be blank!" runat="server"/> ValidationSummary Control: displaymode="bulletlist" headertext="Page has the following errors: " showsummary="true" showmessagebox="false" runat="server"/>