EDN Admin
Well-known member
Hai, i got a datagridview and i need to add a DataGridViewComboBoxColumn by programmatically. <br/>Below is my code :<br/><br/> DataGridViewComboBoxColumn objClearance = new DataGridViewComboBoxColumn();<br/> objClearance.Items.Add("0");<br/> objClearance.Items.Add("1");<br/> objClearance.Items.Add("2");<br/> objClearance.Items.Add("3");<br/><br/>In normal combobox i use comboboxA.selectedindex = 0; to set its default value.<br/>But how i going to set the default item for DataGridViewComboBoxColumn?<br/><br/>Thanks!
View the full article
View the full article