Export table from excel to view Aspose c#

Is there any way to export a table from excel sheet to show on cshtml view in aspose c#, or need to add the values to dictionary and show it

@kiran5388,

Aspose.Cells does provide different data exporting options including export from sheet data to fill a DataTable, see the document with examples on data exporting options via Aspose.Cells for .NET for your reference.

To pass datatable to be shown on cshtml view or to add datatable values as key-value pairs in C# Dictionary, you got to write your own code yourselves. Aspose.Cells won’t help in this part (pass datatable to be shown on cshtml view or add datatable values as key-value pairs in C# dictionary).