I'm trying to do a Linq query on the items of the GridView but I don't know how to go about that. I tried several ways and I'm unable to figure out how to convert or get the list out of GridViewItems
This is my last attenpt which doesn't work at all..
Thank you fro any help.
This is my last attenpt which doesn't work at all..
var SumQuantity = (FROM ocs IN rgvShipTos.Items.OfType<ObservableCollection<Foo_OC_ShipTo>>().ToList())
SELECT ocs.Qty).Sum();
Thank you fro any help.