dinamic report
Posted: Wed Jun 22, 2011 3:05 am
Hello,
Please send us a sample project which reproduces the issue for analysis.
Thank you.
Please send us a sample project which reproduces the issue for analysis.
Thank you.
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
protected void Button1_Click(object sender, EventArgs e)
{
StiReport report = new StiReport();
report.Load("e:\\1.mrt");
DataSet ds = new DataSet("Demo");
ds.ReadXml("e:\\Demo.xml");
report.RegData(ds);
report.Dictionary.Synchronize();
StiWebViewerFx1.Report = report;
}
protected void StiWebViewerFx1_GetDataSet(object sender, Stimulsoft.Report.WebFx.StiWebViewerFx.StiGetDataSetEventArgs e)
{
DataSet ds = new DataSet("Demo");
ds.ReadXml("e:\\Demo.xml");
e.DataSet = ds;
}
Code: Select all
report.RegData(ds);
report.Dictionary.Synchronize();
Code: Select all
DataSet ds = new DataSet("Demo");
ds.ReadXml("e:\\Demo.xml");
e.DataSet = ds;