How to get the data From DataGridViewCell
C#
4
Posts
2
Posters
0
Views
1
Watching
-
HI, How to get the values of each cell of the DataGridView, if each cell is of DataGridViewComboBoxCell Type. Thanks in Advance Srinivas -- modified at 23:48 Wednesday 1st February, 2006
-
hi, foreach(DataGridItem item in DataGrid1.Items) { DropDownlist ddl = (DropDownList) e.Item.Cells[1].FindControl("ddl1"); string value = ddl.Selectedvalue; } Above 'ddl1' is id of the combo that you want to get the value of. all the best lucky -- modified at 6:50 Friday 3rd February, 2006