将复杂的净对象绑定到水晶报告 [英] Binding complex net objects to a crystal report

查看:62
本文介绍了将复杂的净对象绑定到水晶报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

水晶报告可以绑定到除简单网络对象以外的任何其他内容吗?我有一个代表存储项目的类。每个项目可能包含一个或多个化学元素,因此该类的一个属性是"元素"类型的链接列表,另一个是自定义类。我使用数据库专家将报表的数据源设置为'Item'网络对象,但只有对象的简单数据类型显示在Field Explorer中的数据库字段中。元素对象的链接列表不在字段列表中。

Can a crystal report be bound to anything other than a simple net object?  I have a class which represents items in storage.  Each item may contain one or several chemical elements, so one of the properties of the class is a linked list of type 'Element', another custom class.  I set the report's data source to the 'Item' net object using the database expert, but only the object's simple data types show up on the database fields in the Field Explorer.  The linked list of element objects is not on the field list.

我有一个存储中所有项目的链接列表,我希望能够将其直接发送到报表而不是将其写入数据表并将数据集连接到Crystal Reports。

I have a linked list of all items in storage, and I would like to be able to send it directly to a report rather than write it to data tables and connect the data set to Crystal Reports.

谢谢,

推荐答案

我试图在Crystal Report工具中使用.Net对象。
<你能帮助我吗?我不明白这是怎么回事。

tks
I am trying to use .Net Objects in a Crystal Report tool.

Can you help me. I don't understand how this work.

tks


这篇关于将复杂的净对象绑定到水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆