setting Datagridviewcombocolumn value at runtime

pvkiran

New member
Joined
Jul 19, 2006
Messages
4
Programming Experience
1-3
Hi guys,
I need help in controlling the Datagridview control.
I have a Datagridview( say dgv1) control on a form and the dgv1 has two datagridviewcombocolumns
with their independant datasources. I need to display the data in column2 depending on the value selected in column1.
something like
dgv1.Item(e.ColumnIndex + 1, e.RowIndex).Value = "value"
or
combocell = dgv1.Item(e.ColumnIndex + 1, e.RowIndex)
combocell.Items.Item(0) = "Value"
It wouldnt allow me anywhich way. Has anyone got any ideas please?
Thankx,
PVKiran
 
Back
Top