问题:DataGridView某单元格数据与combobox对应项显示?
解决:
this.combobox1.SelectedIndex = this.combobox1Items.IndexOf(this.DGVPerson[2, this.DGVPerson.CurrentCell.RowIndex].Value.ToString());
问题:DataGridView某单元格数据与combobox对应项显示?
解决:
this.combobox1.SelectedIndex = this.combobox1Items.IndexOf(this.DGVPerson[2, this.DGVPerson.CurrentCell.RowIndex].Value.ToString());
转载于:https://www.cnblogs.com/Delzl/archive/2011/07/03/2096784.html