建议从Excel中的.NET C#中读取数据 [英] Suggestions for reading data from excel in .net c#

查看:323
本文介绍了建议从Excel中的.NET C#中读取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要阅读从Excel文件中的数据在我的C#WinForms应用程序。在此良好的元件的任何建议?我用syncfusion一些年前,似乎这样的伎俩。

I need to read in data from excel files in my c# winforms app. Any recommendations on good components for this? I've used syncfusion some years ago and that seemed to do the trick.

未来将有一大堆的标题行,我需要跳过(所以直ADO方法不会轻易工作),然后用标准列,但可变数量的行数据的表格。

There'll be a bunch of header lines I need to skip (so a straight ADO approach won't work easily) and then a table of data with standard columns but variable number of rows.

我会抽数据到SQL Server数据库,一旦它的读取,但可能需要做验证等它之前。

I'll be pumping the data into SQL Server db once it's read, but probably need to do validation etc on it before that.

谢谢!

推荐答案

最终,我们选择了 Syncfusion的XLSIO 效果很好。

Ultimately we opted for Syncfusion's XLSIO which works well.

感谢您的其他建议了。

这篇关于建议从Excel中的.NET C#中读取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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