How to Registering an EXCEL Data for the Report Template?
Posted: Tue Oct 31, 2023 12:04 pm
How to Registering an EXCEL Data for the Report Template?
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
Code: Select all
report.dictionary.databases.add(new Stimulsoft.Report.Dictionary.StiExcelDatabase("excel", "/TestApp/Data/Book1.xlsx"));
var table = new Stimulsoft.Report.Dictionary.StiDataTableSource("excel.Sheet1", "table1");
var column1 = new Stimulsoft.Report.Dictionary.StiDataColumn("Id", "Id", "Id", String)
table.columns.add(column1);
report.dictionary.dataSources.add(table);