数据网格中的双向排序及其随意修改  被引量:1

Bidirectional Sort and Choosing a Row to Update or Delete by Click Any Cell in DataGrid

在线阅读下载全文

作  者:颜波[1] 孙宏波[2] 肖田元[2] 

机构地区:[1]华南理工大学电子商务学院,广州510006 [2]清华大学自动化系,北京100084

出  处:《计算机工程》2006年第2期68-69,87,共3页Computer Engineering

基  金:中国博士后科学基金资助项目(2004036119);华南理工大学人文社会科学基金资助项目

摘  要:总结了在DataGrid中进行正、反双向排序的两种方法:分别利用Attributes属性和利用ViewState来保存排序表达式和排序方向,更方便用户浏览查阅;给出了点击DataGrid的任一位置以选中一行的方法,更方便用户操作;还给出从表单输入控件修改(更新或删除)DataGrid中所选择记录行的方法,以保证数据有效性验证。First, two methods to realize the bidirectional sorts including the ascendant sort order and the descendant sort order in the DataGrid through storing the sort expression and the sort direction by means of attributes and viewstate are summarized in order that the users browse and look up more conveniently; Second, the method to choose a row by click any cell in the DataGrid is given in order that the users could operate more conveniently; Third, the methods to update or delete the selected record row in the DataGrid from Web forms controls are given to ensure data validation.

关 键 词:双向排序 更新 ASRNET 数据网格 视图状态 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象