can you some one please direct me how to resolve the issue.
i am building an application that upload the excel file and read the data from excel and store the value into database in mvc 5 c# .
but i am getting error on
var adapter = new OleDbDataAdapter("SELECT * FROM [Sheet1$]", connectionString);
var ds = new DataSet();
adapter.Fill(ds, "ExcelTable");
getting error on adapter.Fill(ds,"ExcelTable");


Dharmraj ThakurRank #577 · 4.2K reputationPosted Dec 25, 2017, 1:08 AM EST
If you see this error: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
Try one of these:
Amit KumarRank #459 · 5.4K reputationPosted Dec 25, 2017, 1:07 AM EST
Khushboo Kumari111 reputationPosted Dec 25, 2017, 2:31 AM EST
Khushboo Kumari111 reputationPosted Dec 25, 2017, 2:53 AM EST
Amit KumarRank #459 · 5.4K reputationPosted Dec 25, 2017, 7:32 AM EST
Leon DRank #851 · 2.6K reputationPosted Dec 25, 2017, 9:07 PM EST