how to filter a datatable in c#

38

how to filter a datatable in c# -

DataView dv = new DataView(yourDatatable);
dv.RowFilter = "query"; // query example = "id = 10"

Comments

Submit
0 Comments