none
Multiple DataTable for Report (RDLC) RRS feed

  • Question

  • Hi,

     

    I am currently resigning a report (RDLC) with a datasource (ds) which has two tables (DataTable1 and DataTable2) under it.

     

    It used to work fine when I was using only one table, but when I add the second datatable, then it starts to give me error saying

     

    data source instance has not been supplied for the data source 'ds_DataTable2

     

    Can someone please shine some light on how do i get this to work?

     

     

    thanks

     

     

    Kelvin

    Thursday, May 31, 2007 9:40 AM

All replies

  • I recommend you to rebind your datasources by using tag of reportviewer object, you will see Rebind Data Sources on tag... This has worked simple for me...
    Thursday, May 31, 2007 12:36 PM
  • not quite understand what you were saying, but I've noticed for some reason that my window form that contain the reportviewer doesn't  have any DataTable and DataAdaptor for the 2nd DataTable, I've repeated the code for 1st DataTable for DataTable2, and it seems to work now.

     

    if there is an easier way with clear instruction on how to do it, please reply to this post too.

     

    thanks

     

     

    Kelvin

    Friday, June 1, 2007 3:09 AM