以输入流或二进制格式读取Excel文件 [英] read excel file in input stream or binary format

查看:123
本文介绍了以输入流或二进制格式读取Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 如何从浏览选项中读取输入流或二进制格式的Excel文件并将其存储在DataTable或DataSet中.

谢谢

解决方案

您不能.一种方法是使用ADO.net.看看这个

使用ADO.NET C#DbProviderFactory读写Excel电子表格 [ ^ ]

有一些第三方实用程序可以帮助您.
这是它们之一 [ ^ ].


Hi How can I read excel file in input stream or binary format from browse option and store in DataTable or DataSet.

thanks

解决方案

You can''t. One way to do it is by using ADO.net. Take a look at this

Reading and Writing Excel Spreadsheets Using ADO.NET C# DbProviderFactory[^]


There are a few third party utilities which could help you out.
Here is one of them[^].


这篇关于以输入流或二进制格式读取Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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