OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Log.accdb");
OleDbDataAdapter da = new OleDbDataAdapter("SELECT * FROM log", conn);
DataSet ds = new DataSet();
da.Fill(ds, "log");
dataGrid.ItemsSource = ds.Tables["log"].DefaultView;