当点这个按钮的时候不能实现跳转到指定的页面 ,帮忙看一下参数不正确吗?
protected void btnrest_Click(object sender, EventArgs e)
{
Response.Redirect("index.aspx");
}
protected void btnrest_Click(object sender, EventArgs e)
{
Response.Redirect("index.aspx");
}
加上~/再看看。
Response.Redirect("~/index.aspx");跳转到根目录下的index.aspx