相关代码 |
|
Ch10-01-02.aspx Response.Redirect方法 Sub Button1_Click(Obj As Object, e As EventArgs) Response.Redirect("http://localhost/ASP/Chap09/Ch09-02-01.aspx") End Sub 利用Button控件和Response.Redirect方法打开特定的网页 网页的URL为: http://localhost/ASP/Chap09/Ch09-02-01.aspx OnClick="Button1_Click" Runat="Server" />