0

Does anyone know how to filter a dataset or datatable?

Dynamic filter in c#

26th Dec 2018, 3:55 PM
Gabriel Estrada
Gabriel Estrada - avatar
1 Réponse
+ 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 ?
27th Dec 2018, 9:37 PM
sneeze
sneeze - avatar