/// <summary>
    /// 在当前页面弹出提示框
    /// </summary>
    /// <param name="page"></param>
    /// <param name="o"></param>
    /// <param name="strText"></param>
    public static void ShowMessageBox(Page page,string strText)
    {
        strText = strText.Replace("'", "").Replace(";", "").Replace("<", "").Replace(">", "").Trim();
        page.ClientScript.RegisterStartupScript(page.GetType(), "", "<script>alert('" + strText + "');</script>");
    } 

相关文章:

  • 2021-08-26
  • 2022-03-08
  • 2022-02-15
  • 2021-10-03
  • 2022-12-23
  • 2021-10-29
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2021-07-28
  • 2022-01-19
  • 2022-02-27
  • 2021-08-31
  • 2021-08-25
相关资源
相似解决方案