S
sagars76
I am using the following connection string to access the data on excel 2007
on windows 7 machine with visual studio 2005
public static readonly string JetConnectionString =
"Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=..\\..\\..\\DataMiningUserinterface.xlsx;Extended Properties=" + "\""
+ "Excel 12.0;HDR=YES;" + "\"" + ";";
but it is giving me an error that "The 'Microsoft.ACE.OLEDB.12.0' provider
is not registered on the local machine." I installed the driver for Office
2007 components and it still gives me the same error. Please let me know how
I can register these components and read the data from excel.
on windows 7 machine with visual studio 2005
public static readonly string JetConnectionString =
"Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=..\\..\\..\\DataMiningUserinterface.xlsx;Extended Properties=" + "\""
+ "Excel 12.0;HDR=YES;" + "\"" + ";";
but it is giving me an error that "The 'Microsoft.ACE.OLEDB.12.0' provider
is not registered on the local machine." I installed the driver for Office
2007 components and it still gives me the same error. Please let me know how
I can register these components and read the data from excel.