如何根据特定的列值读取Excel行 [英] How to read excel rows based on particular column value

查看:71
本文介绍了如何根据特定的列值读取Excel行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

任何机构都会根据一个特定的列值提供示例代码来读取excel行
例如,在我的代码中,我想基于
读取整个excel工作表 111个单元格的值

任何机构都可以帮助我.....

解决方案

一种方法是使用Interop从excel读取值.几个例子:
-使用Office Interop组件进行快速MS Excel阅读 [ http://www.dotnetperls.com/excel [ http://zamov.online.fr/EXHTML/CSharp/CSharp4. html [ ^ ]

Hi everybody

Any body give sample code for reading excel rows based on one particular column value
for example in my code iwant to read the total excel sheet based on
111 cell value

any body help me.....

解决方案

One way to do this is to use Interop to read values from excel. Few examples:
- Faster MS Excel Reading using Office Interop Assemblies[^]
- http://www.dotnetperls.com/excel[^]

Another way is to use OleDb, for example: http://zamov.online.fr/EXHTML/CSharp/CSharp4.html[^]


这篇关于如何根据特定的列值读取Excel行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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