Silverlight designer DB support

Stimulsoft Reports.Silverlight discussion
Locked
kseen
Posts: 1
Joined: Fri Sep 16, 2011 3:32 am

Silverlight designer DB support

Post by kseen »

Hi!
Is there any possibility in Silverlight designer to work with DB reports instead of file reports? Firstly, designer should load report from table in database, then after user has edited the report designer saves it back to table in DB. Reports stored in BLOB field of table.
Thanks in advance!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Silverlight designer DB support

Post by Alex K. »

Hello,

Yes, it is possible. You can save reports in the database as a string or byte array.
To save in the database, you can subscribe to the event of saving a report
StiOptions.Engine.GlobalEvents.SavingReportInDesigner

and, in this event, to save the report in its database
report.SaveToByteArray
report.SaveToString

Thank you.
Locked