Save mrt file in DB

Сonversation on different topics
Post Reply
TechWryte
Posts: 1
Joined: Thu Dec 07, 2017 1:24 pm

Save mrt file in DB

Post by TechWryte »

Hello

Is there an example to save mrt files in DB and the application serialize the file when creating the report?

Thanks in Advance
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Save mrt file in DB

Post by HighAley »

Hello.

You could use the SaveToString(), SaveToJsonString(), SaveToByteArray() methods for saving a report and LoadFromString(string reportStr), LoadFromJson(string json), Load(byte[] bytes) for loading the report.
You could store report templates in yoru database in any format.

Thank you.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Save mrt file in DB

Post by Lech Kulikowski »

Hello,

You can try to check the IsModified option for the report.

Thank you.
Theo
Posts: 2
Joined: Thu Sep 20, 2018 1:49 pm

Re: Save mrt file in DB

Post by Theo »

MichaelCab wrote: Sun Aug 05, 2018 4:05 am Please add an option to only save changed files before assembly. This helps to identify when a file was last changed.
I have done already and another solution you have then tell me or if you don't mind please tell me through screen shot i will be very thankful to you
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Save mrt file in DB

Post by Lech Kulikowski »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
Post Reply