脚步提示及跳转
EndScript("alert('登录成功!');window.location = 'Main.aspx'");
#region 页面脚本提示
protected void EndScript(string js)
{
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "JS", "<script defer>" + js + "</script>");
}
#endregion
编程不是为了生存,更多的是乐趣和成就感~