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

Databinding at runtime

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 1
Andy Green asked on 05 Oct 2009, 07:40 AM
Firstly sorry if this is a common question but I cant find an answer there are some broken links which may have helped me:

I have a data layer that does all the database stuff, I would call the get functions and populate say a Radgrid like this:

 


Dim
jp As New JobPlan

 

Dim ds As Data.DataTable = jp.JobPlansByUser(User_GUID)

 

With radgrid_JobPlans

.DataSource = ds

.DataBind()

 

End With

How do I do this with a report, and where would I put the code, in the report itself or the aspx display page.
I understand I wont get the design time benifits of having a sample of the data to design the reports.

Andy

 

 



These are the broken links:
http://www.telerik.com/community/forums/reporting/community/code-library/submission/b311D-bkhgmc.aspx
http://www.telerik.com/community/support/videos/preview/b221i-cm-b221c-kcb.aspx

UPDATE:
I think I may have found it here:
http://www.telerik.com/help/reporting/designing-reports-adding-data-source-programmatically.html

Are there any other examples?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Oct 2009, 01:01 PM
Hi Andy Green,

Indeed the information in the Connecting Data to a Report help section is what you're looking for.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Andy Green
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or