The generic code:
Dim dv As New DataView()
Dim dRow As datarow
Dim strHTML As String
'Assuming I have ds sets here
'then create dv
dv = ds.Tables(0).DefaultView
dv.RowFilter = "ID = 1 OR ID is NULL"
For each drow in dv.Table.Rows
-- Display here
strHTML = strHML & drow("SomeFields")
Let's say rows in original dv (before filter) = 100 and after filter supposed to be 50.
In the for loop it is going to display 100 instead of 50 (after filter).
Filter only works if we bind data? not when actually loop thru it and display?