Sum of datagridview column in a textbox based on another column distinct value in c#.net windows app
Dear All,I want to get sum of datagridview column in a textbox based on another column's distinct value. For example:
Band-01: 10
Band-02: 20
Band-02: 20
Band-03: 10
Band-04: 20
Band-05: 10
Here total is 90. But i want total must be 70 as Band-02 is appears twice.
Please find my attached screenshot in next thread.
Thanks in advance.