I'm using this connection string to access excel(2007,2010) files
oleConnection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + filepath + ";Extended Properties='Excel 12.0;HDR = NO;IMEX = 1;'";
this work fine until i try to get data from protected List. I know the protection password. So how could i access protected list?
As per MSDN you can provide the credentials with the connection string
User ID=UserX;Password=UserXPassword
but this works for accessBut