日期:2014-05-17 浏览次数:20448 次
Response.Redirect("~/SecondPage.aspx");
public class MyHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { if (context != null && context.Server != null) { page1 = BuildManager.CreateInstanceFromVirtualPath("~/FirstPage.aspx", typeof(Page)) as Page; context.Server.Transfer(page1, false); } }
context.Redirect("~/first.aspx?action=button");