日期:2014-05-18 浏览次数:20942 次
var names = new string[] { "编号", "名称", "数值" };
var columns = new string[] { "ID", "NAME", "NUM" };
this.comboBox1.DataSource = names;
this.comboBox1.Tag = columns;
var result = ((string[])this.comboBox1.Tag)[this.comboBox1.SelectedIndex];