creating a combobox in a datagrid

Hello Everybody,

Everybody is sometimes a newbe, just like me :confused:
I would like to create a databound combobox
in a datagrid.

Sofar I created (by program code inst. of the wizards,)
a working datagrid, connected to a sql database,
columns with the right width, with the right headertext,
are read only/or not, rows do have a specific text for
empty rows.

I still need something....

I also could not find a nice example in visual basis.NET
(several in C++),for a window application (hundreds for
ASP-programming).

Does anybody know a (simple) and cristalclear example
on how to build such a combobox?

My thanks are great,
reinier:D
[732 byte] By [reinier] at [2007-11-18 14:09:33]
# 1 Re: creating a combobox in a datagrid
put a combo on the form and try the code below in the CurrentCellChanged

ComboBox1.Visible = True
ComboBox1.Left = DataGrid1.GetCurrentCellBounds.Left
ComboBox1.Top = DataGrid1.GetCurrentCellBounds().Top
ComboBox1.Width = DataGrid1.GetCurrentCellBounds.Width
ComboBox1.Text = DataGrid1(DataGrid1.CurrentCell)
newvisva at 2007-11-10 3:22:53 >
# 2 Re: creating a combobox in a datagrid
Sorry, your answer is not quite right,
I did fing a great answer on another
forum, for thise who want it, mail me
at reinier22@wish.nl

Make your title of the mail different,
so I will not throw it away like all the
spam.

Regards,

reinier
reinier at 2007-11-10 3:23:50 >