2
Reply

addition operation in DataGridview using checkbox?

Kanaparthi Sureshma Reddy

Kanaparthi Sureshma Reddy

Sep 7 2015 6:23 AM
437
Hi,
I have one DataGridView(DGV) in my WindowsForm Application.My DGV Consists of 4 columns with one CheckBox field column.The column names are Select(For CheckBox Field),Test Name,Commission,Cost.Here my purpose is I want check CheckBox and insert some commission value into the commission cell by double click within the Commission cell.When I selecting multiple cell values the commission should be added by next cell commission value,Likewise cost also incremented by selecting multiple selected values using CheckBox.
The total Commission and cost should be displayed in two TextBoxes outside of DGV.I am unable to find how to write code for this and which event I have to write.
Thanks in advance.


Answers (2)