I have a question about datagridviewcell. i have created textboxcolumn in datagridview. when ever i click the particular cell the cell should change to datagridviewcomboboxcell. Also i need to add the item in combobox collection. when i go to another cell then, the new cell get datagridviewcombobox cell and existing cell should change to datagridviewtextbox cell...
相关问题
- IPAddress.[Try]Parse parses 192.168 to 192.0.0.168
- How do I bind a DataGridViewComboBoxColumn to a pr
- Partial Form Class C# - Only display code view for
- How do I create a multidimensional array of object
- Can we add four protocols to ServicePointManager.S
相关文章
- Sort TreeView Automatically Upon Adding Nodes
- Where does this quality loss on Images come from?
- Missing partial modifier on declaration of type
- PropertyGrid - Possible to have a file/directory s
- Why do base Windows Forms form class with generic
- How to handle the TextChanged event only when the
- Difference between SuspendLayout and BeginUpdate
- Adding Combobox to DataGridView Headers
You could change the
DataGridViewTextBoxCell
toDataGridViewComboBoxCell
in theCellBeginEdit
event and change it back inCellEndEdit
event.Try this: