Suppose i have a datagridview and one column type is DataGridViewComboBoxColumn. i want when user will select anything from combo box then GenderID will be attached to that tag property of that cell where combo box appear. as a result when i will read values in loop then i can read selected GenderID choose by user. so how to store selected GenderID in the tag property of the cell when user select or change value from combo box ?
please help me with code. thanks
i am also curious that if i do not store GenderID in tag property of cell and when i will read values from each cell of each rows in loop then can i get selected GenderID from DataGridViewComboBoxColumn whatever user selected ?
please help me with concept & code sample. thanks