I've searched around and couldn't find the one I've been looking for.
I have a DataGridView in VB.NET with thousands of records from MySQL Database. Now, I want to SEARCH item_description that matches or something LIKE the inputted text. I am using TEXTCHANGED
I didn't use search to database since its taking time to load.
Sample is
Search: orange
DataGridView must filter and display only with the words like "orange"
| ITEM_ID | ITEM_DESCRIPTION |
|---|---|
| 120 | Orange Juice |
| 832 | Orange Fruit |
I am thinking of getting the array list names of the column "item_description" and filter it but I don't know where to start and what codes to use. Thank you
DataTablewith the result set, bind that to aBindingSourceand bind that to your grid. Both theDataTableand theBindingSourceprovides means to perfrom simple queries against the data and, for something more complex, you can perform a LINQ query against theDataTable. - jmcilhinney