简体   繁体   English

从Excel中显示一个表作为html表 - c#asp.net

[英]Display a table from Excel as html table - c# asp.net

I have an Excel file with a formatted table. 我有一个带有格式化表格的Excel文件。 Right now I have a database in sql server, I'm pulling the data into my c# asp.net program. 现在我在sql server中有一个数据库,我把数据拉进我的c#asp.net程序。 I want to know if anyone has an idea of what I should try to use that Excel format to display data from a query at a webpage without having to go in and construct the table from scratch. 我想知道是否有人知道我应该尝试使用Excel格式来显示网页查询中的数据,而无需从头开始构建表格。 I tried looking for a good tutorial on how to import an excel file and use it as a template for crystal reports, had no luck. 我试着找一个关于如何导入excel文件的好教程,并将其用作水晶报告的模板,没有运气。 Any advice would be greatly appreciated! 任何建议将不胜感激!

I have used a third party component called ASPOSE.NET to acheive this. 我使用了名为ASPOSE.NET的第三方组件来实现这一点。 ASPOSE provides extensive formatting options and support a wide variety of file formats. ASPOSE提供了广泛的格式选项,并支持各种文件格式。

However it is not a free product. 但它不是免费产品。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM