Hello,
I couldn't bind subreport's datasource which,itself is a subreport
of another report. Can you guys help me out ?
Thanks.
Jump to Poststatic,
Same as you work with simple report.
Jump to Poststatic,
Which version of Visual studio are you using?
static,
Same as you work with simple report.
adatapost
Thanks, but I tried too, maybe i was in the wrong way
can u give me some codes for example ??
static,
Which version of Visual studio are you using?
I am using vs 2005
static,
Attached zip - Crystal Report and Sub Report.
Thank you very much for your help
and sorry for my unclear message .
The problem is that i am using Report Viewer not Crystal Report.
Let's say there is three reports of report viewer : grandparent,parent, and grandchild reports
Grandparent has a sub report Parent and that Parent, too,has a sub report Grandchild.
We can set datasource to Parent subreport by the followni code.
GrandParent.SubReportProcessing+=new SubreportProcessingEventHandler(GrandParent_SubreportProcessing);
GrandParent_SubreportProcessing(object sender,SubreportProcessingEventArgs e)
{
e.DataSources.Add(DataSource);
}
That's how Parent sub report data source is set. There , how do i set that of Grand Child sub report ? The object "sender" isn't Parent sub report.
Anyway , thanks to adatapost
I'm using RAQ Report now. I find it very useful. It's a free excel-like reporting tool. It can meet your need. Maybe you can try it. You can download it at http://www.raqsoft.com/
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.