dev lookupedit 和Windows ComboBox获取多列数据
2021-07-04 01:08
标签:box bho string contex bsp 数据源 context object source Windows ComboBox获取多列数据 DataRowView data = (DataRowView)this.BindingContext[cmbHospId.DataSource].Current; object ceshi = data["ceshi"]; cmbHospId.DataSource 为控件的数据源,ceshi为数据源中的某一列 dev lookupedit 获取多列数据 DataRow ss = cmbHospId.GetSelectedDataRow() as DataRow; string ceshi = ss["ceshi"].ToString(); 2为数据源的第三列 dev lookupedit 和Windows ComboBox获取多列数据 标签:box bho string contex bsp 数据源 context object source 原文地址:https://www.cnblogs.com/BigBigDream/p/9869786.html
string ceshi = data["ceshi"].ToString();
string ceshi 2 = ss[2].ToString();
文章标题:dev lookupedit 和Windows ComboBox获取多列数据
文章链接:http://soscw.com/essay/101516.html