简体   繁体   English

Excel文件使用asp.net C#读取数据并将其保存在SQL Server数据库中

[英]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.

相关问题 来自Google文档的Excel使用asp.net C#读取数据并将其保存在SQL Server数据库中 - Excel from Google Docs read and save data in SQL Server database using asp.net c# 我无法从Excel文件中读取并使用C#中的asp.net存储到数据库中? - I am not able to read from Excel file and store into database using asp.net in c#? 在ASP.NET C#中将数据插入SQL Server数据库 - Inserting data to SQL Server database in asp.net c# 在asp.net中使用c#更新sql server数据库 - updating sql server database using c# in asp.net 使用asp.net将Excel文件数据导入Sql server - Import Excel file data into Sql server using asp.net 使用C#和ASP.NET写入数据并将其保存到SQL Server数据库 - Writing data and saving to a SQL Server database using C# and ASP.NET 使用Asp.net C#中的文件上传功能将数据从.csv导入SQL Server - Import Data from .csv to SQL Server using File Upload in Asp.net C# 使用asp.net C#将SQL Server 2016中的一个数据库复制到SQL Server 2012中的另一个数据库 - Copy one database in SQL Server 2016 to another in SQL Server 2012 using asp.net C# 如何在Web窗体应用程序中使用asp.net c#将Excel数据上载到具有自动递增ID字段的SQL Server表中? - How to upload Excel data into a SQL Server table with an auto incremented Id field using asp.net c# in a web forms application? 服务器等待文件在Asp.net C#中的保存完成 - Server Wait file save complete in Asp.net C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM