1.ClientScript.RegisterStartupScript(GetType(),"message","alert('第一種方式,無白屏!');"); 2.HttpContext.Current.Response.Write("alert('第二種方式,有白屏!')"); 3.public static void Show(System.Web.UI.Page page, string msg) { page.ClientScript.RegisterStartupScript(page.GetType(), "messa...
www.dbjr.com.cn/article/463...htm 2025-5-15