
I have a Datatable like this.Now how can i pick the value from zones based on weight and zone.I am doing this in c#

I have a Datatable like this.Now how can i pick the value from zones based on weight and zone.I am doing this in c#
Using LINQ Query : You need to use the AsEnumerable() extension for DataTable
    var results = from myRow in myDataTable.AsEnumerable()
                  where myRow.Field<int>("RowNo") == 1
                  select myRow;
AsEnumerable() returns IEnumerable. If you need to convert IEnumerable to a DataTable, use the CopyToDataTable()
Check Here