Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

linq group in datagridview

$
0
0
Hi all,
I readthe datafrom the DBandinsert themin acustomobject.
Thenloopthe lines of thisobjectandinserteach rowin my datagridview.

Now I want topassthese lines,grouped bycolumn 2(customer)and column 3 (date)forexample, a new instanceof mycustomobject, addingthe4column(qty).

So, that cycling I amthe sumof theqtyfor each customerandby date.

How can I?

thank you very much

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>