• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Does anyone know how to filter a dataset or datatable?

Dynamic filter in c#

c#datatabledataset
26th Dec 2018, 3:55 PM
Gabriel Estrada
Gabriel Estrada - avatar
1 Answer
+ 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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Functions in python
2 Votes
Html 5 document question
1 Votes
š™µš™øš™½š™³ ššƒš™·š™“ š™øš™½š™æšš„ššƒ š™¾š™µ ššƒš™·š™“ š™æššš™¾š™¶ššš™°š™¼
1 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
0 Votes
Python
0 Votes
Can someone explain inline and block elements please
0 Votes
Actual Artificial Intelligence
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Is this realistic enough?
1 Votes
Need friends
0 Votes