public partial class MainWindow : Window { OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\SR0\Documents\Doctors.accdb"); public MainWindow() { InitializeComponent(); Bind(); } private void Bind() { con.Open(); OleDbDataAdapter da = new OleDbDataAdapter("Select * from Doctors_Records", con); DataTable dt = new DataTable(); da.Fill(dt); con.Close(); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)