alert在asp.net中如何使用??

改成这样:
string str="

1<script language="javascript">alert('省局数据不能进行修改!');</script>

";
Page.RegisterStartupScript("dd",str);

提示成功后转到别的页面
Response.Write("

1<script>window.alert('提示语句');window.location='abc.aspx'</script>

");

Published At
Categories with Web编程
Tagged with
comments powered by Disqus