set datasource

Stimulsoft Ultimate discussion
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

set datasource

Post by Alex K. »

Hello,

As a way, you can put your datatables in one dataset and then register in report dictionary.

Thank you.
csbrogi
Posts: 89
Joined: Thu May 03, 2012 11:47 am
Location: Germany

set datasource

Post by csbrogi »

Hello
have you analysed my last post?
Thank you
Clemens
roya
Posts: 4
Joined: Sat May 05, 2012 2:30 am

set datasource

Post by roya »

Thank you for your reply
I do this way..
In dictionary window i do right click on datasource and select new datasource then create a new datasource as kind of 'Data From DataSet,DataTable'.
then I define the columns.so in my c# project I use RegData() to set the datasource. but in C# project i dont know how to set different datasources.
Is this the right way?I dont know how to use dataset,Please help me to set reports datatables in runtime
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

set datasource

Post by Alex K. »

Hello,
csbrogi wrote:have you analysed my last post?
We couldn't reproduce this issue. Could you please send us a sample project which reproduces the issue.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

set datasource

Post by Alex K. »

Hello,
roya wrote:In dictionary window i do right click on datasource and select new datasource then create a new datasource as kind of 'Data From DataSet,DataTable'.
then I define the columns.so in my c# project I use RegData() to set the datasource. but in C# project i dont know how to set different datasources.
Is this the right way?I dont know how to use dataset,Please help me to set reports datatables in runtime
You can use RegData() method several times:
..
report.RegData(DataSet1);
report.RegData(DataSet2);
...

Thank you.
csbrogi
Posts: 89
Joined: Thu May 03, 2012 11:47 am
Location: Germany

set datasource

Post by csbrogi »

Hello,
Aleksey wrote:Hello,
csbrogi wrote:have you analysed my last post?
We couldn't reproduce this issue. Could you please send us a sample project which reproduces the issue.

Thank you.
did you use the data I posted on may 31?

Regards,
Clemens
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

set datasource

Post by Alex K. »

Hello,

Yes.

Thank you.
Attachments
1918.Screen.PNG
1918.Screen.PNG (82.85 KiB) Viewed 5117 times
csbrogi
Posts: 89
Joined: Thu May 03, 2012 11:47 am
Location: Germany

set datasource

Post by csbrogi »

Hello

the problem is not running in the designer but running in the csharp application

I append the code

Regards,
Clemens
Attachments
1919.Window1.xaml.cs
(2.62 KiB) Downloaded 322 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

set datasource

Post by Alex K. »

Hello,

We need some additional time for check the issue.

Thank you.
maryam
Posts: 26
Joined: Tue Jun 05, 2012 1:13 am

set datasource

Post by maryam »

hello, I use your suggesstion "use several data table and set to the a data set then regdata(dataset) in the code", but I have a problem that don't show me the report with some table when I use a table, this suggesstion is useful, but for 2 or up this is not useful.would u help me?
Post Reply