Hi, try this:
string connString =
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Database.mdb";
DataTable results = new DataTable();
using(OleDbConnection conn = new OleDbConnection(connString))
{
OleDbCommand cmd = new OleDbCommand("SELECT * FROM TableName", conn);
conn.Open();
OleDbDataAdapter adapter = new OleDbDataAdapter(cmd);
adapter.Fill(results);
}
Please change the DB path and table name as per yours.