Please could you tell me how i would be able to order by AmountOutstanding, i've tried everything and just cant seem to get it right.
EbillzDataContext
var allInvoices = from inv in ebillzDataContext.Invoicesgroup inv by inv.CustomerCode into g
select new{CustomerCode = g.Key, AmountOutstanding = g.Sum(cust => cust.AmountOutstanding)
} ;
gridControl1.DataSource = allInvoices;
gridView1.PopulateColumns();
Thanks In Advance
Anthony

Satish BhatRank #2,496 · 563 reputationPosted Aug 17, 2011, 3:24 AM EDT
Anthony Clarke99 reputationPosted Aug 17, 2011, 3:39 AM EDT
Satish BhatRank #2,496 · 563 reputationPosted Aug 17, 2011, 4:15 AM EDT