System.Data.DataRowView(显示在多列combobox中)

我想在combobox中做多列,我想certificate第二列,

但combobox中显示的项目replace后,我做了以下代码: System.Data.DataRowView

string sql = "SELECT customer.customer, arcustmst.cust_name_1 FROM customer INNER JOIN arcustmst ON customer.customer=arcustmst.cust_code"; SqlCommand custcom = new SqlCommand(sql, myconnection); SqlDataAdapter da = new SqlDataAdapter(custcom); DataSet1 ds = new DataSet1(); da.Fill(ds, "customerFrom"); cboFrom.DisplayMember = "customer.customer" + string.Format({0,-5}, "arcustmst.cust_name_1"); cboFrom.ValueMember = "customer.customer" + string.Format({0,-5}, "arcustmst.cust_name_1"); cboFrom.DataSource = ds.Tables["customerFrom"]; 

结果:

在这里输入图像说明 任何人都可以请帮助和指导。

提前致谢

Solutions Collecting From Web of "System.Data.DataRowView(显示在多列combobox中)"