使用c#,winforms读取excel文件 [英] reading excel file using c#, winforms

查看:91
本文介绍了使用c#,winforms读取excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过未安装Excel的机器上的winform应用程序读取excel文件???

如果是,如何?若nat,是否有任何替代解决方案???



i想要读取文件并将其内容上传到数据库...

i know我可以在sqlyog或workbench的帮助下直接上传到数据库。但我需要它以程序方式完成..

Is it possible to read a excel file through a winform application on a machine where Excel is not installed???
if yes, how? if nat , is there any altenate solution???

i want to read a file and upload its content to database...
i know i can directly upload to databse with the help of sqlyog or workbench. but i need it to be done programitically..

推荐答案

是的,可以使用第三方库。在此处查看详细信息(开源): http://npoi.codeplex.com/ [ ^ ]
Yes it is possible by using a 3rd party library. See details here (open source): http://npoi.codeplex.com/[^]


这篇关于使用c#,winforms读取excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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