码迷,mamicode.com
首页 > 其他好文 > 详细

office - Provider

时间:2014-09-17 14:51:52      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   io   os   ar   for   div   

Microsoft ACE OLEDB 12.0

Connect to Excel 2007 (and later) files with the Xlsx file extension. That is the Office Open XML format with macros disabled.

例如:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;
Extended Properties="Excel 12.0 Xml;HDR=YES";

 "HDR=Yes;" indicates that the first row contains columnnames, not data. "HDR=No;" indicates the opposite.

参见:  http://www.connectionstrings.com/excel/

office - Provider

标签:style   blog   http   color   io   os   ar   for   div   

原文地址:http://www.cnblogs.com/listened/p/3976976.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!