简体   繁体   English

如何使用DNN在SQL Server表上直接加载XLS或XLSX数据文件

[英]How to load XLS or XLSX data file directly on a SQL Server table using DNN

I'm quite new on DNN and I'm in charge of figuring out how a existing site on DNN works and manage it the same time. 我对DNN非常陌生,负责弄清楚DNN上的现有站点如何工作并同时进行管理。

Client asked me an easy way, as administrator, to load a XLS or XLSX file on a table on SQL Server. 客户端要求我作为管理员以一种简单的方式在SQL Server的表上加载XLS或XLSX文件。 Do you know which extension does that? 你知道那是什么扩展吗? Or I'll need to develop one to do that? 还是我需要开发一个才能做到这一点?

Thanks in advance! 提前致谢!

Lucas. 卢卡斯

There are a bunch of ways you could do this, but here are a few: 您可以通过多种方法来执行此操作,但是这里有一些方法:

  1. Write a module or scheduled job that loads the XLS file from a specific location into the database. 编写将特定位置的XLS文件加载到数据库中的模块或计划的作业。 This would require knowledge on how to write DNN modules 这将需要有关如何编写DNN模块的知识
  2. If they are Admins, grant them access to the SQL module. 如果他们是管理员,则向他们授予对SQL模块的访问权限。 DNN has a module that allows you to run SQL directly. DNN有一个模块,允许您直接运行SQL。 You could write some SQL that could load the XLS file from a specific location. 您可以编写一些SQL来从特定位置加载XLS文件。 This is not a good solution, but it would work. 这不是一个好的解决方案,但它可以工作。
  3. I'm sure there are 3rd party modules that do this, so check the DNN Store. 我确定有第3方模块可以执行此操作,因此请检查DNN商店。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用SQL Server导出Excel文件(.xlsx)格式 - How to Export an Excel file (.xlsx) format using SQL Server 如何将xml文件加载到SQL Server表中 - How to load an xml file into a SQL Server table 如何转换xlsx文件中的数据,以删除单元格中的合并并使用SSIS将某些列转置为在SQL Server中接收数据? - How can I transform data in xlsx file removing merge in cells and transposing some columns to ingest data in SQL Server using SSIS? 如何以编程方式(C#)从Xls-XML(以XML格式保存的xls文件)数据导入SQL Server - How to programmatically (C#) import from the Xls-XML(xls file Saved in XML Format) data in to SQL Server 使用Powershell从xls文件在每行的SQL Server上显示数据 - Display data on SQL Server of each row from an xls file by using powershell 如何在devexpress弹出控件中将xls文件的数据上传到SQL Server? - How to upload xls file's data to SQL Server in devexpress popup control? 将数据(.xls 文件)导入 SQL 服务器 - 我收到此错误 - Import data (.xls file) into SQL Server - I get this error 将数据从平面文件加载到 Sql 服务器表,并使用 SSIS 导出到 excel - Load data from flat file to Sql Server table and also export to excel using SSIS 将SQL Server表导出到Microsoft Excel xlsx文件 - Export SQL Server table to Microsoft Excel xlsx file 如何使用sql以编程方式将数据加载到表中 - how to programmatically load data into a table using sql
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM