相关代码 |
|
void Button_Click(Object sender, EventArgs e) { Response.Redirect( "thankyou.aspx" ); } RegularExpressionValidatorWeb.aspx Enter the address of your homepage: id="txtHomepage" Columns="50" Runat="Server"/> ControlToValidate="txtHomepage" Display="Dynamic" Text="Invalid URL!" ValidationExpression="http://\S+\.\S+" Runat="Server" /> Text="Submit" OnClick="Button_Click" Runat="Server"/>
相关资源 |
|