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 BhatPosted Aug 17, 2011, 7:24 AM
Satish BhatPosted Aug 17, 2011, 8:15 AM
Anthony ClarkePosted Aug 17, 2011, 7:39 AM