标签:public tar tty div ups art script 方法 pre
方法1:
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert(‘添加成功!‘);</script>");
方法2:(已经过时)
public void Alert(String warning) { Page.RegisterStartupScript("hint","<script defer=‘defer‘>window.alert(‘" + warning + "‘)</script>"); }
标签:public tar tty div ups art script 方法 pre
原文地址:http://www.cnblogs.com/generalLi/p/6265463.html