C# DataGridView DataGridViewTextCell to DataGridViewComboBoxCell editable text
问题 I have a DataGridView with a TextBoxColumn. I would like to be able to click on the cell to enter edit mode, and when I do a drop down will appear with options for the user to pick, or if the user does not want one of those options, they are able to edit the cell (as if there was no drop down). Then when the user leaves the cell, the value (either what they typed, or what they chose) will be saved. There are lots of answers to adding the user typed choice to the drop down list, but this is