I'm trying to get a combobox dropdown to display tables in datagridview from database, but I don't know how to do it, I can see example and explanation how to display only one table.
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
OleDbConnection conn = new OleDbConnection ();
conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.4.0;Data Source=|DataDirectory|\\Manager.accdb;Persist Security Info=True";
OleDbCommand cmd = new OleDbCommand ("SELECT Emplyee, Tasks, Projects from Manager");
OleDbDataAdapter adapter = new OleDbDataAdapter(cmd);
DataSet ds = new DataSet();
adapter.Fill(dt, "Manager");
}