Razor Page Samples - Range To HTML Table Tag Helper

Bring your worksheet data to HTML.

Range To HTML Table Tag Helper

This sample shows how you can create a Tag Helper to convert a range of cells into an HTML Table and carry over some formatting from the source range.

Ranges To Multiple HTML Tables With a Tag Helper

This sample shows how to retrieve data from multiple worksheets in a Microsoft Excel workbook and display it in multiple HTML Tables using a Tag Helper.

Excel Workbook Consolidation

This sample shows how to utilize the IRange.Copy method to dynamically copy and consolidate data from multiple workbooks. It also demonstrates using a Tag Halper to render the contents of a range, or downloading the resulting workbook.

DataTable to Excel Workbook with Formats and Formulas

This sample shows how to insert data from a DataTable into an Excel workbook, merging the data with formatting and formulas. The results are displayed in custom Tag Helper.