How to populate a combobox from a Access dataset / Database
问题 ive hit a brick wall on what to do next to populate a combobox from a data set currently i have. my database is call "PID2db.mdb" and the table is called "Customer" string strCon = Properties.Settings.Default.PID2dbConnectionString; OleDbConnection conn = new OleDbConnection(strCon); try { conn.Open(); string strSql = "Select forename,surname from customer where [customerID] ='" + txtName.Text + "'"; OleDbDataAdapter adapter = new OleDbDataAdapter(new OleDbCommand(strSql, conn)); DataSet ds =