I would like to modify connection strings for excel very much like how SqlConnectionStringBuilder
works.
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\MyExcelFile.xlsx;Extended Properties="EXCEL 12.0 XML;HDR=YES";
I tried to use SqlConnectionStringBuilder
but it's not working. It says "keyword not supported".
How do I modify this kind of connection string with ease?