How to load into and call report from application resources?
Question: How to load into and call report from application resources?
Answer:
Load report into application resources:
1)Go to Visual Studio Resourses tab ( Project -> Properties -> Resources);
2) Set name (report) and set resources content ( from myreport.frx file);
Call report from resources:
1 2 3 |
Report report = new Report(); report.ReportResourceString = Resources.report; report.Show(); |