检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]湖南科技大学知识处理与网络化制造实验室,湖南湘潭411201
出 处:《电脑编程技巧与维护》2011年第18期137-138,142,共3页Computer Programming Skills & Maintenance
基 金:湖南省水库移民开发局管理项目资助
摘 要:GridView是ASP.NET2.0中常用的数据绑定控件,它默认只能对绑定的数据进行单行更新,无法进行多行数据的批量更新,目前已有的GridView批量更新方法无法兼容其单行更新功能,也不能静态绑定数据。通过在ItemTemplate模板列中,新增一个TextBox控件,并利用TextBox控件和Label控件的切换来实现GridView的批量更新,并解决了上述存在的问题。GridView is the Data-bound controls of ASP.NET 2.0, It can only update a single-line on the bind data it Can't achieve multiline batch update of Data. The currently available methods of Gridview batch update can' t achieve compatibility of its single-line update feature,and the data can' t be static binding. In this article, we add a TextBox control in the ItemTemplate, by using the switch of TextBox control and Label control to achieve the batch update of GridView, and solved the above problems.
分 类 号:TP311.10[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.116