using System.Data.OleDb; ... OleDbConnection conn = new OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:\\database.mdb;" + "Jet OLEDB:Database Password=password"); conn.Open(); OleDbCommand cmd = new OleDbCommand("select * from mytable", conn); OleDbDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { Console.WriteLine(dr.GetString(0)); } conn.Close();