Hello,
I need to fill multiple tables into a single dataset, so I wrote the following:
//1)
cmd = new OleDbCommand("SELECT * FROM TableOne; SELECT * FROM TableTwo", myConnection);
//2)
dataAdapter = new OleDbDataAdapter(cmd);
//3)
dataAdapter.SelectCommand = cmd;
//4)
dataAdapter.Fill(ds);
The error stops at the the Fill on line 4.
OleDbException was unhandled "Characters found after end of SQL statement".
I hope you can show me where is my problem