原因是在page_load 事件中使用了绑定,却没有对 isPostback 做判断。
必须 if(!IsPostBack){...} 去判断。
转载于:https://www.cnblogs.com/dupeng0811/archive/2012/06/26/2564260.html
原因是在page_load 事件中使用了绑定,却没有对 isPostback 做判断。
必须 if(!IsPostBack){...} 去判断。
转载于:https://www.cnblogs.com/dupeng0811/archive/2012/06/26/2564260.html