hi friends,

i am doing small work in .net...

task is

i like to add the chombobox in the gridview.

in each row one cell have combo box. when i select one value in the combo box. based on that i will create another combobox in another cell in the same row.

i am not able to create the chombobox in row. please give ur syntax

current i am using

DatagridViewChomboboxColumn obj=DatagridViewChomboboxColumn();

obj.items.add("one");
obj.Items.add("Two");

datagridview1.columns.add(obj);


this one for the column.

i like to display the same think in 10 rows.
how is it possible.

and also i like to set some value in another chombobox in the same row.

Add this code in gridview DataBound event handler.