Dim dt As New DataTable Dim da As New SqlDataAdapter(s, c) c.Open() If Not IsNothing(da) Then da.Fill(dt) dt.Select(\"Groupi
Junt in case... Think you've got a small typo in your VB.NET code. It should be dv.RowFilter instead of dv.RowStateFilter, so:
Dim dt As New DataTable Dim dv As New DataView(dt) dv.RowFilter = "GroupingID = 0" DataGridView1.DataSource = dv