ASP.NET中防止重复提交
解决方法:
.Framework2.0中才有的button属性:<asp:button id="btnSubmit" onclick="btnSubmit_Click" runat="server" OnClientClick="this.disabled=true;this.form.submit();" UseSubmitBehavior="False" />
解决重复提交:OnClientClick="this.disabled=true;this.form.submit();" UseSubmitBehavior="False"
摘录自:http://www.cnblogs.com/fan2k/archive/2008/03/10/1098240.html
撸码:复制、粘贴,拿起键盘就是“干”!!!