Response.Write("<script language=javascript>alert('插入成功!');window.location.href=window.location.href;</script>"); 避免刷新的时候数据重复提交。方法不错。