rdlc中的子对象(Studio 2010RC) [英] child objects in rdlc (Studio 2010RC)
问题描述
我正在尝试在Studio 2010报表中的字段表达式中引用子对象. 这曾经在以前的版本中工作. 当帐户引用具有属性的另一个对象时,以下内容将起作用.
I am attempting to reference a sub-object in a field expression in a studio 2010 report. This used to work in prior versions. When account references another object with properties the following used to work.
=Fields!Account.Value.Name
(名称是子对象的属性,帐户是父对象)
(Name is a property of the child object, Account is the parent object)
相同的表达式语法不再起作用. 在Studio 2010的rdlc中,如何在报表服务中引用子对象的属性.
The same expression syntax no longer works. How do I reference the properties of a sub-object in reporting services in an rdlc in studio 2010.
谢谢
推荐答案
不幸的是,您还不能(到目前为止),解决方法是在父对象中创建属性.
Unfortunately you can't (as yet), and the work-around is to create properties in the parent object.
更多信息:
- https://connect.microsoft.com/VisualStudio/feedback/details/553592/accessing-nested-objects-in-data-source-of-local-report-does-not-function
- http://blogs.msdn.com/b/brianhartman/archive/2010/10/27/nested-objects-in-local-mode.aspx
- https://connect.microsoft.com/VisualStudio/feedback/details/553592/accessing-nested-objects-in-data-source-of-local-report-does-not-function
- http://blogs.msdn.com/b/brianhartman/archive/2010/10/27/nested-objects-in-local-mode.aspx
这篇关于rdlc中的子对象(Studio 2010RC)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!