I have loaded a dataview with data from a datatable. I need to find a way to query the dataview and count the number of records returned from the filter and bind the count value to a label. Is it possible to filter a dataview this way?
Printable View
I have loaded a dataview with data from a datatable. I need to find a way to query the dataview and count the number of records returned from the filter and bind the count value to a label. Is it possible to filter a dataview this way?
VB Code:
Dim dv As New DataView(ds.Tables(0)) dv.RowFilter = "QualifiedName = '" & trvDatabase.SelectedNode.Text & "'" lblConnString.Text = dv.Count.ToString
Thanks