DataSource

Stimulsoft Reports.NET discussion
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

DataSource

Post by satisht »

Hi i have tried to register the both tables but it was not worked , I have tried to register both datasouces by

Report.RegData("NewDataSet", dataSet)
Report.RegData("Data from DataSet,DatTables", Table2)

But still 2'nd dataseet is not get registered.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

DataSource

Post by satisht »

Please give me the another way to register both tables of different data sources?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

DataSource

Post by Vital »

You can use following code:

Code: Select all

Report.RegData("NewDataSet", dataSet)
Report.RegData("NewDataSet2", dataSet)
For also to receive copy of datasource you can create in report dictionary two fully equaled datasource. You need change only Name of datasource.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

DataSource

Post by satisht »

How to change the name of datasource?
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

DataSource

Post by Brendan »

To change the name of your datasource,
Right Click on your Datasource in the Dictionary Window and Selected Edit
Change the "Name" field to change the datasource name
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

DataSource

Post by satisht »

Thank You..
Post Reply