Click here to Skip to main content
15,301,002 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends Plz Help me
i tried to string connection of excel file version 2016 . and i am using

string test = "provider=Microsoft.ACE.OLEDB.12.0; data source= " c:\abc.xlsx ";Extended Properties=" Excel 12.0;Imex=2;HDR=Yes;"

after compile program the given Error this file is password Protected.



please help me
Posted

1 solution

Hi, refer this CodeProject question and respected answers,
Open password protected excel in c#[^]
   
Comments
td sbi 28-Nov-15 1:39am
   
but this file is not password protected..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900