Linq to excel 你听说过吗?

news/2024/7/21 7:50:19 标签: linq, excel, .net, c
cle class="baidu_pl">
cle_content" class="article_content clearfix">
content_views" class="htmledit_views">

今天在网上偶尔发现一个开源项目,Linq to class="tags" href="/tags/EXCEL.html" title=excel>excel,感觉挺有意思的࿰c;不过这个可能要class="tags" href="/tags/.NET.html" title=.net>.net 3.0以上才可以用吧

代码类似以下的

class="prettyprint" style="font-size: 12px; padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; overflow-x: auto; overflow-y: auto; font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; max-width: 70em; background-color: rgb(238, 238, 238); ">class="kwd" style="color: rgb(0, 0, 136); ">varclass="pln" style="color: rgb(0, 0, 0); "> class="tags" href="/tags/EXCEL.html" title=excel>excel class="pun" style="color: rgb(102, 102, 0); ">=class="pln" style="color: rgb(0, 0, 0); "> class="kwd" style="color: rgb(0, 0, 136); ">newclass="pln" style="color: rgb(0, 0, 0); "> class="typ" style="color: rgb(102, 0, 102); ">ExcelQueryFactoryclass="pun" style="color: rgb(102, 102, 0); ">(class="str" style="color: rgb(0, 136, 0); ">"class="tags" href="/tags/EXCEL.html" title=excel>excelFileName"class="pun" style="color: rgb(102, 102, 0); ">);class="pln" style="color: rgb(0, 0, 0); ">
class="kwd" style="color: rgb(0, 0, 136); ">varclass="pln" style="color: rgb(0, 0, 0); "> indianaCompanies class="pun" style="color: rgb(102, 102, 0); ">=class="pln" style="color: rgb(0, 0, 0); "> class="kwd" style="color: rgb(0, 0, 136); ">fromclass="pln" style="color: rgb(0, 0, 0); "> c class="kwd" style="color: rgb(0, 0, 136); ">inclass="pln" style="color: rgb(0, 0, 0); "> class="tags" href="/tags/EXCEL.html" title=excel>excelclass="pun" style="color: rgb(102, 102, 0); ">.class="typ" style="color: rgb(102, 0, 102); ">Worksheetclass="pun" style="color: rgb(102, 102, 0); "><class="typ" style="color: rgb(102, 0, 102); ">Companyclass="pun" style="color: rgb(102, 102, 0); ">>()class="pln" style="color: rgb(0, 0, 0); ">
                       class="kwd" style="color: rgb(0, 0, 136); ">whereclass="pln" style="color: rgb(0, 0, 0); "> cclass="pun" style="color: rgb(102, 102, 0); ">.class="typ" style="color: rgb(102, 0, 102); ">Stateclass="pln" style="color: rgb(0, 0, 0); "> class="pun" style="color: rgb(102, 102, 0); ">==class="pln" style="color: rgb(0, 0, 0); "> class="str" style="color: rgb(0, 136, 0); ">"IN"class="pln" style="color: rgb(0, 0, 0); ">
                       class="kwd" style="color: rgb(0, 0, 136); ">selectclass="pln" style="color: rgb(0, 0, 0); "> cclass="pun" style="color: rgb(102, 102, 0); ">;
这样的Linq方式࿰c;相信在遍历值和查找方面会相当方便


下面是一则介绍文章

ca, Arial, 'LiHei Pro', �s�ө���, sans-serif; line-height: 18px; ">

color: initial; font-size: 16px; font: inherit; vertical-align: baseline; display: block; font-weight: bold; color: rgb(51, 51, 51); width: 658px; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; line-height: 1.5em; ">讀取 Excel 你還在用 NPOI 嗎?快來試試 LinqToExcel

http://demo.tc/Post/639


下面是项目的官方链接

http://code.google.com/p/class="tags" href="/tags/LINQ.html" title=linq>linqtoclass="tags" href="/tags/EXCEL.html" title=excel>excel/

cle>

http://www.niftyadmin.cn/n/1411662.html

相关文章

Vue初体验(六)组件component

1、组件化&#xff0c;最初是由react初创&#xff0c;angular在angular2.0中也融入了组件化的思想&#xff0c;组件化开发已经成为了几乎所有单页面应用的追求&#xff0c;一切的最终目的都是为了复用。 2、作为我们中国人开发和维护的框架&#xff0c;借鉴组件化开发的思想是…

《循序渐进Linux(第2版) 基础知识 服务器搭建 系统管理 性能调优 虚拟化与集群应用》——4.5 磁盘管理与维护...

本节书摘来自异步社区《循序渐进Linux&#xff08;第2版&#xff09; 基础知识 服务器搭建 系统管理 性能调优 虚拟化与集群应用》一书中的第4章&#xff0c;第4.5节&#xff0c;作者&#xff1a;高俊峰著&#xff0c;更多章节内容可以访问云栖社区“异步社区”公众号查看 4.5 …

MVP, MVC, MVVM, 傻傻分不清楚~

原文章地址:http://www.dotblogs.com.tw/regionbbs/archive/2011/09/29/compare.to.mvp.mvc.mvvm.aspx 最近 MVC (Model-View-Controller) 和 MVVM (Model-View-ViewModel) 在微軟圈成為顯學&#xff0c;ASP.NET MVC 和 WPF 的 Prism (MVVM Framework) 功不可沒&#xff0c;MVC…

Vue初体验(七)使用Vue实现一个简单的聊天框

1、实践是检验真理的唯一标准&#xff0c;现在我们做一个简易的聊天窗口&#xff0c;有一个input框&#xff0c;用于用户输入&#xff0c;一个按钮button&#xff0c;用于把用户的输入提交上去&#xff0c;然后又一个列表ul&#xff0c;用于展示我们每次提交的消息。 2、通过简…

《精通Nginx》——2.4 Http的server部分

本节书摘来自异步社区《精通Nginx》一书中的第2章&#xff0c;第2.4节,作者&#xff1a; 【瑞士】Dimitri Aivaliotis 更多章节内容可以访问云栖社区“异步社区”公众号查看。 2.4 Http的server部分 在Http中&#xff0c;server部分或者是Http配置context是可用的&#xff0c;除…

如何免费使用webstorm

【链接】JetBrains激活 http://idea.imsxm.com/ 设置注册码的方式&#xff1a; http://idea.lanyus.com/

使用DebuggerBrowsable和DebuggerDisplay特性进行调试

下面是一篇博客园的文章 http://www.cnblogs.com/zhuqil/archive/2010/08/31/Two-Tips-on-Customizing-Debugging-Window.html在网上搜了几个例子&#xff0c;全部都是在使用List这种集合类型时候&#xff0c;不知在别的地方还有没有用到

《SAFe 4.0参考指南:精益软件与系统工程的规模化敏捷框架》一 3.10 迭代执行...

本节书摘来自华章出版社《SAFe 4.0参考指南&#xff1a;精益软件与系统工程的规模化敏捷框架》一书中的第3章&#xff0c;第3.10节 作者&#xff3b;美&#xff3d;迪恩莱芬&#xff08;DeanLeffingwell&#xff09;&#xff0c;更多章节内容可以访问云栖社区“华章计算机”公众…