- From Datatable to dataGridView using filter. I have Datatable, how to insert data from this Datatable to dataGridView, where column value must be equivalent to specific value.
Like SQL-command: select * from testTable where name = 'test'
Changing values in dataGridView I want to select some rows in dataGridView and by clicking a button, change value in columns of selected rows. And then changes from dataGridView must apply to Datatable (dataGridView source).
Count From Datatable using filter.
How can I count rows from Datatable, where column value must be equivalent to specific value.
Like SQL-command: SELECT COUNT(id) FROM Ticket Where name = 'test'