Page 1 of 1

DataGridViewComboBoxColumn Usage

Posted: Fri Sep 30, 2022 5:32 am
by chenzilong326
Sorry to bother you,
Someone help to see how to write Edit Clause click event?
The Add Clause and Delete Clause click events have been written,
Click a line of the form, and the information will be displayed on it
I don't know how to write the Edit Clause point event,
In addition, from the second line of the form, click the connector control type in the second line to trigger the DataGridViewComboBoxColumn type?
    25.png
    25.png (27.48 KiB) Viewed 409 times
      24.png
      24.png (19.33 KiB) Viewed 409 times
        DemoDataGridViewComboBoxColumn2022.zip
        (207.93 KiB) Downloaded 24 times

        Re: DataGridViewComboBoxColumn Usage

        Posted: Fri Sep 30, 2022 10:38 am
        by jvierra
        We do not usually use the "Edit" event. Just get the "Changed" event and do whatever you need to with the data.

        I recommend reviewing the documentation on WinForms and the DataGridView control.