#region MsgBox
/// <summary>
/// 显示“确定”,点击以后就转到预设网址的提示框
/// </summary>
/// <param name="_Msg">提示信息</param>
/// <param name="URL">“确定”以后要转到预设网址</param>
/// <returns>提示框JS</returns>
public void MsgBox(string strMsg)
{
string StrScript;
StrScript = ("<script language=javascript>");
StrScript += ("alert('" + strMsg + "');");
//StrScript += ("window.location='" + URL + "';");
StrScript += ("parent.$.fancybox.close();");
StrScript += ("</script>");
System.Web.HttpContext.Current.Response.Write(StrScript);
}
#endregion
asp.net的C#提示信息与页面跳转
最新推荐文章于 2021-06-17 17:50:47 发布