image0014

DataTable dtMeterData=new DataTable();

//fill the DataTable

var c=from d in dtDataTable.AsEnumerable()

where d….

select…..

OR

dtDataTable.AsEnumerable().Where(c=>c.Field("Field1").Contains("xyz)).Select(kv => kv.Field("Field0"));

Advertisements