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

类别:.NET开发 点击:0 评论:0 推荐:

改成这样:
string str="<script language='javascript'>alert('省局数据不能进行修改!');</script>";
Page.RegisterStartupScript("dd",str);


提示成功后转到别的页面
Response.Write("<script>window.alert('提示语句');window.location='abc.aspx'</script>");

本文地址:http://com.8s8s.com/it/it43350.htm