C#弹出对话框


ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "NoInformation", "alert('" + str + "');", true);

Response.Write("<script>alert('"+ str +"')</script>");

原文地址:https://www.cnblogs.com/hyd309/p/1454915.html