如何将Excel文件获取到数据集 [英] How to get Excel file to the dataset

查看:101
本文介绍了如何将Excel文件获取到数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dim reportData As New DataSet()
strFileName = upload.PostedFile.FileName
reportData.ReadXml(strFileName)


上面的代码用于读取XML文件并将其存储在DATASET
像这样我们如何将EXCEL文件放入数据集中
此帖子的发布解决方案
在此先感谢


the above code is used to read XML file and store in DATASET
like this How can we get EXCEL file into the dataset
Post solution for this post
Thanks in advance

推荐答案

您可以在此处结帐
将Excel文件导入数据集 [ http://dotnetsoldier.blogspot.com/2008/08/import-excel-into- dataset.html [^ ]
you can checkout here
Import Excel File to DataSet[^]

http://dotnetsoldier.blogspot.com/2008/08/import-excel-into-dataset.html[^]


这篇关于如何将Excel文件获取到数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆