使用 Blazor 導入和匯出 Excel XLSX

2月 18, 2025
MESCIUS 推出的 SpreadJS 讓您在您的 Blazor 應用程式中導入和匯出 Excel 檔,從而為 Web 帶來強大的試算表功能。

繼續用英語閱讀:

SpreadJS by MESCIUS is a high-performance JavaScript spreadsheet component designed to seamlessly integrate Excel-like functionality into web applications. It empowers developers to deliver robust spreadsheet experiences within their applications, complete with features like data import/export, complex formulas, conditional formatting, and extensive customization options. SpreadJS caters to a wide range of use cases, from financial modeling and data analysis to project management and interactive dashboards, ultimately allowing developers to build feature-rich and user-friendly web applications.

In this blog post, MESCIUS Product Manager Kevin Ashley shows you how to use the powerful and extensible SpreadJS component to import and export Excel files. Steps include:

  • Creating the Blazor Application
  • Creating the SpreadJS Component
  • Adding SpreadJS Excel Import and Export
  • Adding the SpreadJS component to Home Page

Detailed source code is included and you can also download the sample app.

Read the full blog to get starting working directly with Excel files in your Blazor applications.

SpreadJS is licensed per developer and includes 1 Year Maintenance (major and minor version releases and unlimited support phone calls). SpreadJS requires an Annual or Perpetual Deployment License. The optional Add-ons are available at an additional cost, and require a SpreadJS license. See our SpreadJS licensing page for full details.

For more information, visit our SpreadJS product page.