I am trying to read all record from MS access database using automation(using Microsoft.Office.Interop.Access) in C#.
I able to read record using ADO.net in C# but not using Automation.
Please help.. Thanks
I am trying to read all record from MS access database using automation(using Microsoft.Office.Interop.Access) in C#.
I able to read record using ADO.net in C# but not using Automation.
Please help.. Thanks
Unless you have a specific need to involve the Access user interface in this task, I recommend you don't do this. Instead, use OdbcConnection
or OleDbConnection
to directly access and manipulate the database.