Hi,
I am trying to figure out how to added an orderby into the following code.
var query = from table in dtCASEBYPROGRAM.AsEnumerable()
group table by new { YEAR = (string)table["YEAR"] } into groupby
select new { YEAR = groupby.Key.YEAR, Sum = groupby.Sum((r) => decimal.Parse(r["COUNT"].ToString()))};
Go to the complete details ...