35 pts.
 Data Grid View Questions
How can i show the combobox in the datagridview collection. As when i opens a form which has datagridview collection ,it shows combobox as textbox but when i click on specific combobox then it shows that combo box

Software/Hardware used:
ASKED: May 6, 2009  9:22 AM
UPDATED: June 24, 2011  8:46 AM

Answer Wiki:
If I understand you right, you want to be able to click on a cell in a grid and have that cell turn into a combobox. The way to do that is to have the combo box invisible at all times until needed. When the cell is clicked, set the combo box left, top, length and height to the cell parameters and then make it visible. Once an item is selected, make the combobox invisible and move the selected item to the cell text.
Last Wiki Answer Submitted:  May 7, 2009  3:44 pm  by  Vatchy   1,410 pts.
All Answer Wiki Contributors:  Vatchy   1,410 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _