使用Where条件从Excel文件中读取特定列数据 [英] Reading A Perticular column data From A Excel file Using Where Condition

查看:125
本文介绍了使用Where条件从Excel文件中读取特定列数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人发布我代码如何使用Excel文件中的条件检索特定列数据.....
Windows中的

please anyone post me code how can i retrieve perticular column data using where condition from a Excel File.....
in Windows

推荐答案

你好,



我会使用Linq to Excel使用OpenXML。



有一个在MSDN上关于这个的非常好的文章。



http://msdn.microsoft.com/en-us/library/office/dd920313(v = office.12).aspx [ ^ ]



如果您不知道Linq在哪里阅读介绍:



http://msdn.microsoft.com/en-gb/library/vstudio/bb397926.aspx [ ^ ]



Valery。
hello,

I would use Linq to Excel using OpenXML.

There is a very good article about this on MSDN.

http://msdn.microsoft.com/en-us/library/office/dd920313(v=office.12).aspx[^]

If you do not know what Linq is read an introduction here:

http://msdn.microsoft.com/en-gb/library/vstudio/bb397926.aspx[^]

Valery.


这篇关于使用Where条件从Excel文件中读取特定列数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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