首页 \ 问答 \ 从C#读取Excel文件(Reading Excel files from C#)

从C#读取Excel文件(Reading Excel files from C#)

有没有一个免费或开源的库直接从C#程序读取Excel文件(.xls)?

它不需要太花哨,只是选择工作表,并将数据作为字符串读取。 到目前为止,我一直在使用导出到Unicode的Unicode文本功能,并解析生成的(制表符分隔)文件,但我想消除手动步骤。


Is there a free or open source library to read Excel files (.xls) directly from a C# program?

It does not need to be too fancy, just to select a worksheet and read the data as strings. So far, I've been using Export to Unicode text function of Excel, and parsing the resulting (tab-delimited) file, but I'd like to eliminate the manual step.


原文:https://stackoverflow.com/questions/15828
更新时间:2022-07-28 18:07

最满意答案

这个:

WHERE t.column =* s.column

...是旧的TSQL(pre SQL Server 2005)外连接语法,并不是ANSI JOIN。

参考: SQL Server 2005外部加入Gotcha


This:

WHERE t.column =* s.column

...is old TSQL (pre SQL Server 2005) outer join syntax, and is not an ANSI JOIN.

Reference: SQL Server 2005 Outer Join Gotcha

相关问答

更多
  • IT是什么意思[2023-01-05]

  • IT是什么意思[2022-06-02]

    IT 是Information Theory英文的缩写,"信息技术"的意思。 指计算机、通讯及相关技术
  • go是什么意思[2023-02-22]

    一是一种编程语言,另一个是动词,表示走的意思。 简介 Go是谷歌2009年发布的第二款编程语言。2009年7月份,谷歌曾发布了Simple语言,它是用来开发Android应用的一种BASIC语言。 谷歌资深软件工程师罗布·派克(Rob Pike)表示,“Go让我体验到了从未有过的开发效率。”派克表示,和今天的C++或C一样,Go是一种系统语言。他解释道,“使用它可以进行快速开发,同时它还是一个真正的编译语言,我们之所以现在将其开源,原因是我们认为它已经非常有用和强大。” 2007年,谷歌把Go作为一个20% ...
  • zookeeper动物园管理者 第一个不知道
  • spring是什么意思[2023-08-08]

    中文里的spring指一种类型的门锁--司必灵锁。 弹簧锁。 中文歌词里夹带的spring指春天。 英文spring的意思很多。春天,弹簧,泉是最常遇到的。
  • 我也是网上搜到的,WIFT是什么意思www.hqjhw.com/swiftcode.asp可以查询全球包括中国在内的所有银行swift代码.SWIFT意思就是银行代码,主要用来收发美金或者其他外币需要这些银行代码 我是需要收取国外家人给我汇款. 我家是石家庄,石家庄中国银行swift代码就是这样查询到的
  • 这个是标签标识。。 你是在做移动web开发吗?这个主要就是告诉移动设备一些,你写的网页的属性。
  • 魔兽争霸 中立地图:twisted meadows(曲径草场) 在这两副地图中都有酒馆这个中立建筑,其中的中立英雄兽王可以很大的帮助ne的远程兵种。是很好的肉盾,所以中立图基本是首发兽王的地图。
  • POI是什么意思[2023-11-26]

    网页链接
  • spring是什么意思[2022-09-21]

    中文里的spring指一种类型的门锁--司必灵锁。 弹簧锁。 中文歌词里夹带的spring指春天。 英文spring的意思很多。春天,弹簧,泉是最常遇到的。

相关文章

更多

最新问答

更多
  • Firebird客户端安装(Firebird client installation)
  • 如何检查一个文件是否已被C中的另一个进程打开?(How to check if a file is already open by another process in C?)
  • 将对象引用存储在控件标签属性确定中(Is storing an object reference in a controls Tag property OK)
  • 谁能介绍《商务谈判》课程的高职高专教材???谢谢!!!
  • 递归图像下载与请求(recursive image download with requests)
  • C ++对齐字符以便在任何实现的输入中整齐地显示(C++ aligning characters to display neatly with any input implemented)
  • 根据字段值插入一行(Insert a row, based on a fields value)
  • 在Ubuntu上使用TCP_REPAIR套接字选项编译代码[关闭](Compiling code with TCP_REPAIR socket option on Ubuntu [closed])
  • 在开发React应用程序时编译/转换代码(Compile/transpile code while developing React app)
  • 重庆软件开发培训 Java培训哪好
  • 将MultiPoint序列化为GeoJSON文件(Serialize MultiPoint to GeoJSON file)
  • 将文本从多个文件,相同的名称复制到bash(linux)中的不同路径(Copy text from multiple files, same names to different path in bash (linux))
  • 将字符串截断为特定数量的字符,忽略HTML(Truncate string to certain amount of characters, ignoring HTML)
  • 如何为崩溃的JNI调用编写JUnit测试?(How can I write a JUnit test for a JNI call that crashes?)
  • 多点触摸两个手指轻拍(Multi-touch two fingers taps)
  • Sqlserver监视时间的变化(Sqlserver watch for time change)
  • Srcset属性 - 最大宽度问题(Srcset attribute - max-width issue)
  • 如何验证数据库中是否存在记录?(How to verify existence of a record in database?)
  • SQL JOIN来自不同表的行具有相同的值(SQL JOIN row from different table with the same values)
  • NSTextField - 使用KVO进行输入验证?(NSTextField - Input validation with KVO?)
  • 如何使用DBPedia从根类别中提取不同级别的子类别?(How to extract sub-categories of different levels from a root category using DBPedia?)
  • 在Javascript中,如何检查数组是否有重复值?(In Javascript, how do I check if an array has duplicate values? [duplicate])
  • 有什么区别:焦点:必需:无效:焦点和:焦点:必需:无效?(What's the difference between :focus:required:invalid:focus and :focus:required:invalid?)
  • 使用OData创建新数据(Creating new data with OData)
  • 获取过滤器从spark数据帧中删除的行的示例(Get examples for rows that are removed by a filter from a spark dataframe)
  • 使用@RequestMapping编码到Spring Controller方法的接口(Coding to an interface on a Spring Controller method with @RequestMapping)
  • 如果Shape在屏幕外,是否执行Graphics2D.draw?(Is Graphics2D.draw performed if the Shape is offscreen?)
  • 与ajax的成功(success with ajax)
  • 如何获取在Javascript中单击的文本?(How can I get the text that was clicked on in Javascript?)
  • 如果没有头文件,如何定义静态成员?(How to define a static member in case there is not header file?)