Page 1 of 2
Assigne data to datasource.
Posted: Mon Apr 15, 2013 10:20 am
by amitkaushik
I want to fetch data from multipal tables for a report,
and try to keep them on design and with the code. I use below code, it's work fine with design DataSouce but no data found with Datasource created with code.
report1.RegData("DS", DataSet);
report1.Compile();
report1.CompiledReport.DataSources["DS"].Parameters["@ID"].ParameterValue = Id;
report1.CompiledReport.DataSources["DS"].Parameters["@Age"].ParameterValue = age;
report1.CompiledReport.DataSources["DS"].Parameters["@State"].ParameterValue = state;
Re: Assigne data to datasource.
Posted: Mon Apr 15, 2013 11:58 am
by Alex K.
Hello,
Please send us a sample project which reproduces the issue for analysis.
Thank you.
Re: Assigne data to datasource.
Posted: Mon Apr 15, 2013 6:49 pm
by amitkaushik
Please .....
CREATE TABLE [dbo].[Table_1](
[id] [int] NULL,
[text] [varchar](100) NULL
) ON [PRIMARY]
Re: Assigne data to datasource.
Posted: Tue Apr 16, 2013 5:49 am
by HighAley
Hello.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
Re: Assigne data to datasource.
Posted: Tue Apr 16, 2013 5:56 am
by amitkaushik
Basicly, My Datasource hold duplicate IDs and I have to show values in one cell related to one ID. But cross data band generate one cell for each record so I need to combine them in one cell on the base of ID.
Re: Assigne data to datasource.
Posted: Tue Apr 16, 2013 7:04 am
by Alex K.
Hello,
Please send us a sample report with test data for analysis.
Thank you.
Re: Assigne data to datasource.
Posted: Tue Apr 16, 2013 7:10 am
by amitkaushik
Please finds the sample reports.
Re: Assigne data to datasource.
Posted: Tue Apr 16, 2013 10:41 am
by Alex K.
Hello,
Please see the following topic:
http://forum.stimulsoft.com/viewtopic.p ... 8&start=10
In which you send a similar task. Please clarify which different?
Thank you.
Re: Assigne data to datasource.
Posted: Tue Apr 16, 2013 12:11 pm
by amitkaushik
Yes but I need to know will it possible in Designe or code?
Re: Assigne data to datasource.
Posted: Tue Apr 16, 2013 12:35 pm
by Alex K.
Hello,
What do you mean about "possible in Designe or code"?
Thank you.