Hi Guys,
I am sure all of you in this thread have found a solution for this
problem.
I have tried the following:
in the button click as I have a parameter to select the Main report
data.
Buttonclick event :
--------------------
{
Code here....
RvMemberInfo.LocalReport.DataSources.Add(new
ReportDataSource("MembersInformationDataSet_GetMem berByID",
this.ShowMemberDetails.ID));
RvMemberInfo.LocalReport.SubreportProcessing += new
SubreportProcessingEventHandler(SetSubDataSource);
RvMemberInfo.LocalReport.Refresh();
}
public void SetSubDataSource(Object sender ,
SubreportProcessingEventArgs e )
{
e.DataSources.Add(new
ReportDataSource("MemberInformationDataSet_GetMemb erActivitiesByMemberID
",
this.ShowMemberActivities.ID));
}
Any help or suggestions will be really helpful.
Sheena
*** Sent via Developersdex
http://www.developersdex.com ***