Unable to Open an Excel file using System.Data.OleDb.OleDbConnection

<>

This question already has an answer here:

Answers


Changed the connection string to

public static string connStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" 
    + path + ";Extended Properties=Excel 12.0;";

Need Your Help

Android crash on check Preferences

android crash

Can someone help me find the problem?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.