C# search in Data Table

I want to discuss about c# search in Data Table

Search DataTable by Column Name:

Example:

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.

Example:

 

Then copy dataview to datatable:

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

Share and Enjoy !

0Shares
0 0

Leave a Reply

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