Using report viewer, how do I pull from two seperate Datasets

Posted by Robert on Stack Overflow See other posts from Stack Overflow or by Robert
Published on 2012-09-17T15:37:03Z Indexed on 2012/09/17 15:37 UTC
Read the original article Hit count: 190

Filed under:
|
|

I have two datasets I need to pull from, A base that both reports use and then a separate one that only one report pulls from. I get the error

Error 12 The Value expression for the text box ‘Textbox9’ refers to the field ‘Name’. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope.

My best guess is I have to associate them with the correct dataset but I have not been able to find any documentation on this.

Can someone please tell me where in the rdlc document I need to code something like name.value, "dataset1" or something similar?

© Stack Overflow or respective owner

Related posts about c#

Related posts about reportviewer