写在pageload中
btnconfirm.Attributes.Add("onclick", "return confirm('是否确认提交信息?')");
点“确定”
之后确认按钮“btnconfirm”的事件中代码才执行。
转载于:https://www.cnblogs.com/mxh691/archive/2008/06/16/1223175.html
转载于:https://www.cnblogs.com/mxh691/archive/2008/06/16/1223175.html