`
lxy7230512
  • 浏览: 5272 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

excel连接字符串

阅读更多
  //operate 2003 excel
            String ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + filePath + ";" + "Extended Properties=Excel 8.0;";
            //operate 2007excel
            //String ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;" + "Data Source=" + filePath + ";" + "Extended Properties=Excel 12.0;";
          
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics