#region 弹出对话框 ///#region 弹出对话框,并后退/// <summary>/// 弹出对话框/// </summary>/// <paramname="strMsg">内容</param>private void ShowMessageback(string strMsg){ Response.Write("<script>window.alert('"+strMsg+"');history.back(-1);</script>");Response.End();}#endregion/// 弹出对话框 /// /// 内容 private void ShowMessage(string strMsg) { Response.Write(""); } #endregion
///
#region 弹出对话框,并返回到指定页面/// <summary>/// 弹出对话框,并返回到指定页面/// </summary>/// <paramname="strMsg"></param>/// <paramname="URL"></param>private void ShowMessageJump(string strMsg,string URL){ Response.Write("<script>window.alert('"+strMsg+"');location='"+URL+"';</script>");Response.End();}#endregion本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/wxd0963/archive/2006/06/10/787130.aspx