Epplus ASP.NET 在 iframe 中显示工作簿
Epplus ASP.NET Display workbook in iframe
我刚刚开始使用 Epplus 并成功地创建了一个包含多个电子表格的工作簿。我需要能够在网页中显示此文件。使用互操作时,这非常容易。我怎样才能在 Epplus 中做同样的事情?
我可以建议您遵循您想要实现的目标的方法。
Option 1:
If you ready to pay you can go for Office 365 which gives you feature
to embed a excel file in iFrame.
Option 2:
Convert to PDF. If your excel is read only better covert it to PDF and use PDF.JS with Viewer.js to embed inside a page.
This will be the best solution as there is no dependency on any
additional plugin at the client side. It works just with plain HTML
and JavaScript.
Option 3-
Google docs, if your data is not sensitive, you can use google docs to upload the excel and embed inside your page.
Option 4 :
Go for excel like grids, this will support your view part also it can
support updating data back to the database if required. For this you
can use Handsontable
我刚刚开始使用 Epplus 并成功地创建了一个包含多个电子表格的工作簿。我需要能够在网页中显示此文件。使用互操作时,这非常容易。我怎样才能在 Epplus 中做同样的事情?
我可以建议您遵循您想要实现的目标的方法。
Option 1:
If you ready to pay you can go for Office 365 which gives you feature to embed a excel file in iFrame.
Option 2:
Convert to PDF. If your excel is read only better covert it to PDF and use PDF.JS with Viewer.js to embed inside a page. This will be the best solution as there is no dependency on any additional plugin at the client side. It works just with plain HTML and JavaScript.
Option 3-
Google docs, if your data is not sensitive, you can use google docs to upload the excel and embed inside your page.Option 4 :
Go for excel like grids, this will support your view part also it can support updating data back to the database if required. For this you can use Handsontable