Visual Basic .NET » Visual Basic .NET General Discussion
Reg: Dropdown in DataGrid -- Laresuco --


It has to be a DataGrid? Because you can use a DataList in order to create all the controls you need. If the DropDown and textbox needs to appear according to some validations you can use a Repeater inside the DataList, and manage the repeater in the ItemDataBound event of the DataList.

If you can explain me with more details what you need to do, I can be more specific regarding what you can do.

Hope this can help.

-- Tito --


I dont know what version you are coding in, but if you have a DataGridView, then you should be albe to set each cell up to have its own datagridview type. This could be a text box, check box, or combo box.

-- Cerebrus --


1. Is this a Windows forms application or Web application ?
2. Which version of VS is this ?

The answers to these questions will decide the solution.

[Submit Comment]Home