如何在Excel 2016中进行数据连接。 [英] how to data connection in Excel 2016 .
本文介绍了如何在Excel 2016中进行数据连接。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友Plz帮助我
我试图将excel文件版本2016连接起来。我正在使用
string test =provider = Microsoft.ACE.OLEDB.12.0; data source =c:\ abc.xlsx;扩展属性= Excel 12.0; Imex = 2; HDR =是;
编译程序后给定的错误此文件是密码保护。
< br $> b $ b
请帮帮我
解决方案
您好,请参考此CodeProject问题和尊敬的答案,
打开密码保护的Excel在C# [ ^ 一>
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
解决方案
Hi, refer this CodeProject question and respected answers,
Open password protected excel in c#[^]
这篇关于如何在Excel 2016中进行数据连接。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文