connectionManager = package.InnerObject.Connections.Add(ExcelMoniker); connectionManager.Properties["ConnectionString"].SetValue(connectionManager, string.Format(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=""Excel 12.0;HDR=YES""", excelDataSource.FileName));
AcquireConnections
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)