Databinding at runtime

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    120 posts
    Member since:
    Jul 2009

    Posted 05 Oct 2009 Link to this post

    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?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Oct 2009 Link to this post

    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.
  3. DevCraft banner
Back to Top