C# 报表RDLC,报表数据源现在缺失
我必须修改我们系统生成的一个报告。 这些报告是使用RDLC文件生成的 我添加了必要的后端,以获取新字段“EmployeeName”所需的信息 但是当我在我的rdlc文件中调用 “=字段!EmployeeName.Value” 它会导致一个错误:C# 报表RDLC,报表数据源现在缺失,c#,.net,asp.net,rdlc,report,C#,.net,Asp.net,Rdlc,Report,我必须修改我们系统生成的一个报告。 这些报告是使用RDLC文件生成的 我添加了必要的后端,以获取新字段“EmployeeName”所需的信息 但是当我在我的rdlc文件中调用 “=字段!EmployeeName.Value” 它会导致一个错误: Error 1 The Value expression for the textbox ‘textbox14’ refers to the field ‘EmployeeName’. Report item expressions can on
Error 1 The Value expression for the textbox ‘textbox14’ refers to the field ‘EmployeeName’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.
我尝试删除数据源并为RDLC重新添加它,但它不再出现在数据源列表中
以前有人有过这个问题吗
Error 1 The Value expression for the textbox ‘textbox14’ refers to the field ‘EmployeeName’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.