asp.net怎么读取excel
来源:互联网 发布:生命游戏 java代码 编辑:程序博客网 时间:2024/06/06 15:52
asp.net怎么读取excel
DataTable Excel_UserInfo = new DataTable();
string strConn = @"Provider=Microsoft.ACE.OLEDB.12.0;" + "Data Source=" + fileInfo.FullName + ";" + "Extended Properties=/"Excel 12.0;HDR=YES;IMEX=1;/"";
string strExcel = "select * from [sheet1$]";
using (OleDbDataAdapter adaptor = new OleDbDataAdapter(strExcel, strConn))
{
DataSet ds = new DataSet();
adaptor.Fill(ds);
Excel_UserInfo = ds.Tables[0];
}
- asp.net怎么读取excel
- asp.net怎么读取excel
- asp.net怎么读取excel
- ASP.NET读取EXCEL
- ASP.NET读取EXCEL
- Asp.Net 读取Excel
- asp.net 读取excel
- ASP.NET读取Excel
- asp.net 读取excel数据表
- ASP.NET读取Excel文件
- asp.net 读取excel文件
- ASP.NET(C#)读取Excel
- asp.net的excel怎么导入啊?
- ASP.NET中读取Excel文件数据
- 解决ASP.net 读取Excel 问题
- asp.net操作Excel,读取、导出,操作
- asp.net读取EXCEL的方法(3)
- asp.net读取EXcel的小讨论
- xt800区别思路
- 谈PHP乱码
- 关于等待多于64个线程的解决方法
- QML之使用C++自定义QML类型(三)
- 定制RadioButton在前的Spinner
- asp.net怎么读取excel
- asp.net怎么读取excel
- asp.net怎么读取excel
- 从BW开发系统传输到BW生产系统的过程
- 51指针定义
- Ajax中status值为500或是12030的问题
- 《当程序员的那些狗日日子》(二十七)大项目
- Keil中如何使用自己生成的LIB库
- isql和osql