This code connects to an Access database at C:\myFolder\myAccessFile.accdb and selects all records from myTable. The results are read using a OleDbDataReader object. You can access individual values using reader.GetValue() or reader.GetString(), etc.
Note that you should replace myFolder, myAccessFile.accdb, and myTable with your own file and table names, and you may need to adjust the connection string if you're using a different version of Access or a different driver.