关于ASP中的confirm 写在pageload中 btnconfirm.Attributes.Add("onclick", "return confirm('是否确认提交信息?')"); 点“确定” 之后确认按钮“btnconfirm”的事件中代码才执行。