[ASP.NET]实现在执行完服务端代码后弹出提醒对话框
private void Button2_Click(object sender, System.EventArgs e)
{
String scriptString = "<script language=javascript>";
scriptString += "alert('数据写入成功!')";
scriptString += "</script>";
if(!this.IsStartupScriptRegistered("Startup"))
this.RegisterStartupScript("Startup", scriptString);
}