using System;
namespace XXX
{
/// <summary>
/// 显示消息提示对话框。
/// </summary>
public class MessageBox
{
private MessageBox()
{
}
public static void Show(Page myPage, string strMessage)
{
System.Web.UI.ScriptManager.RegisterStartupScript(myPage, myPage.GetType(), "Message", "\r\n alert('" + strMessage + "') \r\n ", true);
}
}
}