I save the mrt as string in the database after finish designing.In fact,the mrt is not correct, but it can be saved in the database.When I view it,it show the error massage and cannot go to the design page.
So I want to know,how can i verify the mrt is correct or not.Hope someone for help.
How to verify the mrt is correct or not
-
- Posts: 7338
- Joined: Tue Mar 20, 2018 5:34 am
Re: How to verify the mrt is correct or not
Hello,
Do you mean report rendered errors or error in report file saving?
Thank you.
Do you mean report rendered errors or error in report file saving?
Thank you.
Re: How to verify the mrt is correct or not
The report rendered errors,the report file can saved successfully.
-
- Posts: 7338
- Joined: Tue Mar 20, 2018 5:34 am
Re: How to verify the mrt is correct or not
Hello,
You can try to use the following code:
Thank you.
You can try to use the following code:
Code: Select all
try
{
report.Compile();
report.Render();
}
catch
{ }
var stiChecks = new Stimulsoft.Report.Check.StiCheckEngine().CheckReport(report);