摘要
Microsoft.NET Compact Framework2.0数据访问模型的对象为DataSet、TableAdapter和BindingSouce。三个对象的应用为:首先使用TableAdapter的Fill方法,将数据库中的数据填充到DataSet中;然后使用BindingSouce对象,将DataSet中数据绑定到用户控件,BindingSouce的Position属性可控制DataSet数据光标的移动。
The Microsoft.NET Compact Framework2.0 data accesses DataSet model, TableAdapter model, and BindingSouce model. The application of the models is: at first, use Fill method of TableAdapter and fill the data in DataSet, then, use BindingSouce object to tie the DataSet data with user controller. The Position attribut in BindingSouce controls the moving of DataSet data cursor.
出处
《兵工自动化》
2007年第10期95-96,共2页
Ordnance Industry Automation
作者简介
赵莹(1981-),女,黑龙江人,军械工程学院在读硕士,从事武器系统性能检测与故障诊断研究。