C# search in Data Table

I want to discuss about c# search in Data Table

Search DataTable by Column Name:


You can search group of value from datatable using DataView . First create dataview from datatable.

And then Filter in dataview by column name and order by.



Then copy dataview to datatable:

Another way, If you want only datarow then try this:

Leave a Reply

Your email address will not be published. Required fields are marked *