Usage of DataView object

Usage of DataView object

Instantiate

new DataView();
DataView dv = new DataView();

Get data from the warehouse

dv对象.Table = 仓库.Tables[表名]
 dv.Table = ds.Tables["one"];

Sorting method sort

dv对象.Sort = “列名 排序规则”

Bind data from dv

别的对象.数据源 = dv对象

Guess you like

Origin blog.csdn.net/qq_50722361/article/details/110790990