正在加载图片...
例2、利用 Response对象重新定向链接 private void Button1 Click(object sender System EventArgs e) if ((TextBox1 Text !=)& (teXtboxl.Text.Indexof(http://)>=0)) //如果目标网址不为空,并且包含 chttp //”字符,则跳转 Response. Redirect(TextBoxl Text例2、 利用Response对象重新定向链接 private void Button1_Click(object sender, System.EventArgs e) { if ((TextBox1.Text != "") && (TextBox1.Text.IndexOf("http://")>=0)) { //如果目标网址不为空,并且包含 “http://”字符,则跳转 Response.Redirect(TextBox1.Text); } }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有