A data source instance has not been supplied for the data source“Product_Detail” in Microsoft reporting service

后端 未结 10 1341
孤独总比滥情好
孤独总比滥情好 2021-02-07 03:19

I`m trying to display record in a Report. Data is in the Dataset. but it is not binind to them. When forms load it shows it report layout. But when i click on the button it show

10条回答
  •  闹比i
    闹比i (楼主)
    2021-02-07 04:07

    I know this post bit old but I would like to share my solution with you guys so it might help some.

    In my project I got the same error which is "a data source instance has not been supplied for the datasource 'dataset1'". And I used entity framework with code-first method in my project.

    In order to solve above error I follow below steps.

    1. Select action arrow on report designer (Report viewer).
    2. And select the RDLC report from choose report dropdown list.
    3. Select "Choose Data Source"Choose Data Source
    4. Then select the data source you wantSelect datasource / binding source from the drop down in highlighted area

提交回复
热议问题