StiReport Load and Save from Byte[]
Posted: Fri Feb 11, 2011 8:47 am
Hi,
I'm a C# developer and I'm trying your Stimulsoft Report suite.
I like so much your suite but I have a problem:
My application must save the report file in a Database and I want:
1) loading the report from DB load this byte array in your Wpf Report designer form
2) when the user close your Wpf Report designer form save this bye Array in my DB
Fro the point 1 I have write the code:
Byte[] myArr = ... LOAD FROM DB
using (var report = new StiReport())
{
report.Load(myArr);
report.DesignWithWpf();
}
And it run correcly.
I ask you: how can I intercept when the user modify or save the report? (to save the byte array in my DB)
Thanks, Riccardo Zanardini.
I'm a C# developer and I'm trying your Stimulsoft Report suite.
I like so much your suite but I have a problem:
My application must save the report file in a Database and I want:
1) loading the report from DB load this byte array in your Wpf Report designer form
2) when the user close your Wpf Report designer form save this bye Array in my DB
Fro the point 1 I have write the code:
Byte[] myArr = ... LOAD FROM DB
using (var report = new StiReport())
{
report.Load(myArr);
report.DesignWithWpf();
}
And it run correcly.
I ask you: how can I intercept when the user modify or save the report? (to save the byte array in my DB)
Thanks, Riccardo Zanardini.