0
Does anyone know how to filter a dataset or datatable?
Dynamic filter in c#
1 Respuesta
+ 1
https://www.c-sharpcorner.com/blogs/filtering-dataset-based-on-column-values-in-c-sharp
This link says.
A datatable has a defaultview and this view has a rowfilter.
ds.Tables[0].DefaultView.RowFilter = "State = 'Maharashtra' and City='Nagpur'";
https://www.codeproject.com/Questions/208337/Dataset-table-filtering-How-to-filter-for-rows-whe
dSet.Tables(0).DefaultView.RowFilter = "'30' IN (Frequency)"
Can you use this ?