The code you have written is accessing the main table using the code block dv1.Table
.
Instead try as this
dv1[k]["roomno"]
This code works on DataView
, on which the filter is applicable.
If you use DataView.Table
then it will access the non-filtered results.
Reference Link: MSDN - DataView.RowFilter