根据检索数据的查询在报表中显示动态列 [英] Display dynamic column in the report base on the query that retrieve the data
本文介绍了根据检索数据的查询在报表中显示动态列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好。我有一个问题,我需要帮助。我正在使用.net水晶报道。我需要根据我选择的列导出数据。我在数据集中定义了一些列。但是如何根据我想要的查询动态添加更多列?我该怎么办?
目前我已将数据库中的所有结果都收集到数据表中。并且在数据集中定义10个cols以在报告中使用。谢谢。
Hi all. I have a problem here which I need help. I'm using .net crystal report. And I need to export the datas base on the columns I selected. I hv define some columns in dataset. But how to add more columns dynamically based on the query I want? What method should I do?
Currently I've get all results from database into a datatable. And 10 cols define in dataset to be use in report. Thanks.
推荐答案
检查这些
带有动态列的Crystal报表 [ ^ ]
Crystal Reports with Dynamic Number of columns with Typed Dataset [ ^ ]
显示动态列的Crystal报告 [ ^ ]
水晶报告 - 交叉表 - 动态列号,位置和小计页码总数 [ ^ ]
Check these
Crystal report with Dynamic Column[^]
Crystal Reports with Dynamic Number of Columns with Typed Dataset[^]
Crystal Report to display dynamic columns[^]
Crystal Reports - Cross-Tab - Dynamic column number, position and sub-total page number[^]
这篇关于根据检索数据的查询在报表中显示动态列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文