[英]Excel file read and save data in SQL Server database using asp.net c#
如何使用asp.net c#读取Excel文件的数据并将其保存到SQL Server数据库中?
See OpenXML 2.0 from MS... 请参阅MS的OpenXML 2.0 ...
It is a free library that does NOT require office to be installed... you can read + write Office files including Excel and Word (Version 2007 and up...). 这是一个免费的库,不需要安装Office ...您可以读写Office文件,包括Excel和Word(2007版及更高版本)。
IF you need more features (like rendering to PDF etc.) then you would need some 3rd-party library... 如果您需要更多功能(例如渲染为PDF等),则需要一些第三方库...
For the SQL Server part you can ADO.NET / Entity Framework or whatever technology you want... 对于SQL Server,您可以使用ADO.NET/实体框架或所需的任何技术。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.