aspx.cs文件中:
protected void btn_Click(object sender, EventArgs e)
{
Response.Redirect("url=next.aspx");
}
其中的next.aspx要重新在当前项目上新建一个网页名,重命名为 next.aspx
后台
protected void btnRedirect_Click(object sender, EventArgs e)
{
Response.Redirect("url");
}
Response.Redirect(“这里写网页页面的地址”)
或者用js脚本 window.location.href='地址'
Response.Redirect("页面路径");