MultiColumn ComboBox from DataGridViewComboBoxEditingControl Class(Urgent)
-
Hi all I want to have a column in datagridview which is showing the combobox with multiple columns Can Datagridviewcomboboxediting control class can help in any way Plz its very urgent to me Can idea , Clue , Suggestion, Source, way is highly appreciated Thanks for this help Hema Chaudhry
-
Hi all I want to have a column in datagridview which is showing the combobox with multiple columns Can Datagridviewcomboboxediting control class can help in any way Plz its very urgent to me Can idea , Clue , Suggestion, Source, way is highly appreciated Thanks for this help Hema Chaudhry
Section 5.9[^] of George Shepherd's Windows Forms FAW shows you how to add a normal ComboBox to a DataGrid. Now, the .NET Framework doesn't supply a multiple column ComboBox, so you'll have to implement your own control to do it. Once you have the contorl built, you can add it to the DataGrid, just lkike a normal ComboBox. You can find a multi-column ComboBox here[^] on CodeProject. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Section 5.9[^] of George Shepherd's Windows Forms FAW shows you how to add a normal ComboBox to a DataGrid. Now, the .NET Framework doesn't supply a multiple column ComboBox, so you'll have to implement your own control to do it. Once you have the contorl built, you can add it to the DataGrid, just lkike a normal ComboBox. You can find a multi-column ComboBox here[^] on CodeProject. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Actually, that code was written in 2003. You can't just copy, paste, and pray it works. You have to fully understand what's going on in that code. Custom controls are handled by the DataGrid no differently than the standard controls, provided the custom controls are written exposing the correct interfaces. THe code on those links won't work with 2005 because the DataGrid was replaced with the DataGridView control, which doesn't work the same way the old DataGrid does. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome