Filter data example in DataGIRD with DataView

xiaoxiao2021-03-06  66

Dim DataView AS New DataView Dim DataViewRow As DataRowVIEW

dataView.Table = ResultDataSet.Tables ( "a") dataView.RowFilter = "agid = '41 'and atid = '47'" DataGrid1.DataSource = dataView DataGrid1.DataBind () Dim aa As Integer = dataView.Count dataViewRow = dataView .Item (0) me.textbox1.text = dataViewrow.row.Item ("acvalue")

转载请注明原文地址:https://www.9cbs.com/read-119019.html

New Post(0)