Как эту проблему можно решить я пробую несколько раз
System.InvalidOperationException: 'The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.'
This exception was originally thrown at this call stack: [External Code] DataBaseDemoWithAccessVC.ManageEmployeesForm.GetEmployeesList() in ManageEmployeesForm.cs DataBaseDemoWithAccessVC.ManageEmployeesForm.LoadDataIntoDatGrigView() in ManageEmployeesForm.cs DataBaseDemoWithAccessVC.ManageEmployeesForm.ManageEmployeesForm_Load(object, System.EventArgs) in ManageEmployeesForm.cs [External Code]
Что я уже пробовал:
DataTable dtEmployees = new DataTable(); string connString = ConfigurationManager.ConnectionStrings["dbx"].ConnectionString; using (OleDbConnection conn = new OleDbConnection(connString)) { using (OleDbCommand cmd = new OleDbCommand("SELECT * FROM Employees", conn)) { conn.Open(); // error at this line