OleDbConnection con = new OleDbConnection(constr);
con.Open();
// // code for project name- id starts
string Sql_project_name = "select customer_name, customer_mobile1 from tb_customer";
OleDbCommand cmd = new OleDbCommand(Sql_project_name, con);
OleDbDataReader DR = cmd.ExecuteReader();
DataTable table = new DataTable();
table.Load(DR);
//begin adding line
DataRow row = table.NewRow();
row["customer_name"] = "Select Customer Details";
table.Rows.InsertAt(row, 0);
// end adding a line
combo_project_name.DataSource = table;
combo_project_name.DisplayMember = "customer_name";
combo_project_name.Text = "Select Customer Details";
在這段代碼我顯示CUSTOMER_NAME正被從數據庫中取出......但我想說明它customer_mobile_number與CUSTOMER_NAME和customer_mobile之間用逗號相同組合框。 ..how我能實現這個....顯示組合框中兩個選項在C#.NET