How to create a report with master report dataset???

Stimulsoft Reports.NET discussion
Post Reply
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

How to create a report with master report dataset???

Post by jayakumargr »

Hi,
I want to create a report with master report dataset. so i tried following,

Master masterReport = new Master();
StiReport.ReportType = typeof(Master);
StiReport obj = new StiReport();
obj.Design();

Master is the Report Class.

It Doesn't Work ?

Please provide the solution....

Thanks in Advance,
Jayakumar
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

How to create a report with master report dataset???

Post by Vital »

Please say me what things don't work?

Thank you.
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

How to create a report with master report dataset???

Post by jayakumargr »

Hi,
Master Dataset not loaded in newly created report. this is the problem.(stiReport 2007.1)


Thanks in advance,
Jayakumar
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

How to create a report with master report dataset???

Post by jayakumargr »

Hi,
is there any solutions Found ???

How to Load Master(class) Report Dataset into Newly created Report????

Please provide the solution....

Thanks in advance,
Jayakumar
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

How to create a report with master report dataset???

Post by Vital »

You need register your dataset to inherited reports too. So you need use following code:

Code: Select all

Master masterReport = new Master();
StiReport.ReportType = typeof(Master);
StiReport obj = new StiReport();
obj.RegData("MyDataSet", myDataSet);<----------------
obj.Design();
Thank you.

Post Reply