
Note: The “ComboBox” control should be placed on the “DataGridView” control. The ComboBox will show up when the focus is on a Cell corresponding to the Qualification Column. We don’t want the ComboBox to be visible when the form loads.

Next, set the Visible property of the ComboBox as False. Find the Items property and add items to it. To add the values, right click the control and choose Properties. The ComboBox will have a list of Qualifications. Therefore, in the Header Text field add the text Present Address and in the Name field add PresentAddress (without any space).Ġ3) Finally drag and drop a ComboBox control on the DataGridView. Please remember, the Present Address column is important for this example to work properly. You will have to add values to the first and last fields, that is, Name and Header Text. To add the columns, you simply have to click the Add button, which will open the Add Column window. In the Properties window, find the Columns property and open it. Click the Toolbox button and from the list of tools Double Click to add a DataGridView control on the form.Ġ2) Select the DataGridView control and right click the mouse to choose Properties. From New Project templates, select Windows Forms Application and click OK.Ġ1) A new project appears with a Blank Form. Start Microsoft Visual Studio and select a New Project from the File menu (Left Top Menu). The combo box will allow the user to select value from a list of pre-define of items.Īlso Read: Windows Forms CheckedListBox Control – C# and Vb.Net



The ComboBox will show up in a Cell of a particular column when focus sets on that column. Net ComboBox control with a DataGridView. In this article, I am going to show you how to bind a. I have also explained how to set the name property of each column in the DataGridView and its proper usage.
