通过c#读取和写入excel [英] Read and Write excel through c#

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

问题描述

我们如何从Excel工作表中读取特定列并将该列保存在我的数据库中,并在更新数据库中的值后再次将这些更新值写入excel?



有人可以帮我吗?



提前感谢.............

How we can read a particular column from a excel sheet and save that column values in my database and also after update the values from database again write these updated values into excel?

can anyone help me?

thanks in advance.............

推荐答案

查看这篇文章



动态读写Excel文件 [ ^ ]


尝试使用 EPPlus 来自codeplex的[ ^ ]包。



希望这会有所帮助,

Fredrik
Try using the EPPlus[^] package from codeplex.

Hope this helps,
Fredrik


您也可以尝试NPOI dll。



欲了解更多信息,请通过此链接



http://npoi.codeplex.com/ [ ^ ]





monika dixit
You can try NPOI dll also.

For more information go through this link

http://npoi.codeplex.com/[^]


monika dixit


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

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