c#后台弹出框 Response.Write();会打乱页面布局

可以使用 Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "<script>alert('msg');</script>");

猜你喜欢

转载自www.cnblogs.com/jinjingBlog/p/9861176.html