筆記筆記
protected void Button1_Click(object sender, EventArgs e) { ScriptManager.RegisterStartupScript(this, this.GetType(), "訊息", "javascript:location.href='b.aspx'", true); }