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);
}
本文地址:http://com.8s8s.com/it/it43024.htm