摘要: Using the Code1. Define the Person class that includes the ID, Name, and Age properties.class Person { public Person(int id, string name, int age) { this.id = id; this.name = name; this.age = age; } private int id; /// <summary> /// Person ID /... 阅读全文
posted @ 2012-03-26 20:47 小飞机 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 最近碰到一个问题:页面使用了Ajax,非jQuery,用的是微软的ScriptManager和UpdateProgress。如何在数据回传过程中禁止用户重复提交?即用户点了提交按钮后,按钮不能用,等到数据回传后,按钮状态自动变为可用!前台页面:<form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:UpdatePanel runat="serv 阅读全文
posted @ 2012-03-26 20:14 小飞机 阅读(230) 评论(0) 推荐(0) 编辑