Datagridview popualtion and retreival
Query:
1. I have a Windows form with a datagridview control having 6 coloumns(added at design time)
1st is a checkbox column..
2nd is a combo box coloumn
3rd is a combo box coloumn
4 th is a text box coloumn
5 th is again a check box coloumn
6 is again a combo box..
I have to populate these.... and also take values from these (as these are editable by the user too) on OK clikck
I am able to add values in the comboboxes at runtime using
((DataGridViewComboBoxColumn)dataGridView1.Columns[firstColoumn]).Items.Add(chanName);
BUT....BUT ............BUT
Problem is,
1. I, dont get a selectedindex (Property) on combo box and checked/unchecked (Property) on check box....
2. Further I am not able to iterate through multiple rows to be added.........
Help needed ASAP
Thanks in Advance
Amber
|