Report design in the run-time
Hello,
I have a Windows application developed under .Net
with this application, I used to build reports based on business objects as datasource
FastReport.Report rpt = new FastReport.Report();
rpt.Load(AppUtils.GetReportPath() + @"\Complaint.frx");
rpt.RegisterData(dt, dt.TableName);
rpt.SetParameterValue("FromDate", fromDate);
rpt.SetParameterValue("ToDate", toDate);
rpt.SetParameterValue("IsTelShow", chkShowTel.Checked);
if(IsDesignMode)
{
rpt.Design();
}
else {
rpt.Preview = previewControl1;
rpt.Show();
}
Now, I want to move the project to a web application using core 3.1 (I will upgrade to ,Net7 later on)
my question here is how to use the same concept on .Net core 3.1 to register and show the designer like what I did in win app?