在 a.aspx 中<asp:Button id="Button1" runat="server" Text="Button" OnClick="Button_Click" ></asp:Button>
在 a.aspx.cs protected void Button_Click(object sender, EventArgs e)
    {
                Response.Redirect("b.aspx" );
    }
    protected override void Render(HtmlTextWriter writer)
    {
        System.IO.StringWriter html = new System.IO.StringWriter();
        System.Web.UI.HtmlTextWriter tw = new System.Web.UI.HtmlTextWriter(html);
        base.Render(tw);
        System.IO.StreamWriter sw;        sw = new StreamWriter(Server.MapPath("htm/") + a.html, false, System.Text.Encoding.Default);
        sw.Write(html.ToString());
        sw.Close();
        tw.Close();
        Response.Write(html.ToString());
    }  
在生成的 a.html按 button 转到的 url 是  a/htm/ a.aspx 怎样才能做到 
按 button 转到的 url 是   b.aspx 
a.html一定要生成在 htm文件夹中如果 没有 htm文件夹 按 button 转到的 url 是   b.aspx