Hi
I have stored the report.mrt file in database in string format using asp.net and c#.
How can I render it back to .mrt file,Please provide the sample code.
Thanks,
Abdul Aleem
Regarding report rendering from database
-
- Posts: 37
- Joined: Tue Sep 15, 2009 9:42 am
- Location: jeddah
Regarding report rendering from database
Hello,
You can save your reports to a string or load them from a string.
Thank you.
You can save your reports to a string or load them from a string.
Code: Select all
//Save Report as a string
StiReport myReport = new StiReport();
/* ... Load or design a report here ... */
string reportString = myReport.SaveToString();
//Load a Report from a string
StiReport myReport2 = new StiReport();
myReport.LoadFromString(reportString);
myReport.Save(filePath);