This is a migrated thread and some comments may be shown as answers.

subreport.Report.DataSource = ds;

5 Answers 197 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sami
Top achievements
Rank 1
sami asked on 13 Sep 2007, 10:24 PM

DataSet ds = new DataSet();

ds = dbTools.OragetDataSet(GroupReport.SubReportDataSourceSelectCommandText, "xfe");
subreport.Report.DataSource = ds;

getting error : Object reference not set to an instance of an object.
Any ideas.

5 Answers, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 18 Sep 2007, 06:05 PM
Hello sami,

Your problem can be resolved, but you should open the support ticket and send us the project.

Regards,
Hrisi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Noel
Top achievements
Rank 1
answered on 26 Feb 2008, 07:42 AM
Hi Hrisi!

Good Day!

Will it be possible for you to send the solution to this issue? I also have the same problem with SubReport. I'm using Telerik Reporting v1.0.

I have an event for NeedDataSource where i set the necessary datasource of the subreport and I used List<object> object instead of DataSet.

Thanks.
Noel

0
Hrisi
Telerik team
answered on 27 Feb 2008, 08:02 AM
Hi Noel,

Thank you for writing back.

I would advise you to upgrade to the latest version - Telerik Reporting Q3 2007 SP1 (assembly version is 2.0.1.0), as it comes on board with many new features added as well as a lot of problems fixed.

In the current version, the databinding to the Business object is slightly changed. In the attached project, you can find an example. Please note that this example should work with the latest version of the Reporting.

I hope this helps.

Best wishes,
Hrisi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Noel
Top achievements
Rank 1
answered on 27 Feb 2008, 08:09 AM
Hi Hrisi!

Good Day!

Thanks a lot!

If we plan to purchase the Telerik Reporting, how much will it cost us considering that we already have purchased the ASP.NET/WinForm Controls?

Regards,
Noel
0
Fani
Telerik team
answered on 27 Feb 2008, 10:56 AM
Hi Noel,

Your inquiry was transferred to the Sales department and I will reply to you via e-mail.

Kind regards,
Fani
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
sami
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Noel
Top achievements
Rank 1
Fani
Telerik team
Share this question
or