也可以直接使用Response.Write写该页面的location = 你想要的页面

解决方案 »

  1.   

    还可以直接使用Response.Write写该页面的location=‘你需要的页面’
      

  2.   

    使用Response.Redirect("Url");,虽然可以转到其它页面,但会发生异常,不知为什么,不知是否是bug?
    try
    {
      Response.Redirect("test.htm");
    }
    catch(Exception e)
    {
     Response.Write("Happe Err.");
    }
      

  3.   

    使用Response.Redirect("Url");,虽然可以转到其它页面,但会发生异常,不知为什么,不知是否是bug?
    try
    {
      Response.Redirect("test.htm");
    }
    catch(Exception e)
    {
     Response.Write("Happe Err.");
    }有谁知道这是为什么?