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")