用dataview过滤datagird中的数据例子

用dataview过滤datagird中的数据例子

Dim dataView as new Dataview
Dim dtaviewrow as datarowview
Dataview.table = resultdataset.tables(“a”)
Dataview.rowfilter = “id = ‘41’ and tid = ‘47’”
Datagrid1.datasource = dataview
Datagrid1.databind()
Dim aa as integer = dataview.count
Dataviewrow = dataview.item(0)
Me.textbox1.text= dataviewrow.row.item(“value”)

你可能感兴趣的:(view)