在运行时按用户设置列顺序 [英] set the column order by user at run time

查看:56
本文介绍了在运行时按用户设置列顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在asp.net应用程序(vs2008)中有一个简单的报表,我希望用户能够设置列的顺序.例如,如果我有三列A,B,C,那么我想要一些功能,以便用户可以根据自己的喜好以B,A,C或其他格式查看它们.基本上我不想在设计时创建报告布局,应该动态创建报告布局

任何帮助都将非常有用.

hi every one i have a crystal report in asp.net application(vs2008) and i want the user to be able to set the columns order  For example, if I have three columns A, B, C then I want some functionality so that user can view these as B, A, C or in other formates as per his preference. Basically I dont want to create report layout at design time, the report layout should be created dynamically

any help will be great.

推荐答案

您可以尝试SQL Server报告,即rdl文件.它的基本格式是XML.您可以更改xml文件中的列顺序并即时生成报告.

You can try SQL server reports i.e an rdl file. It's basic format is XML. you can change the column order in the xml file and generate the reports on the fly.

查看Crystal Report帮助文档是否允许创建动态报告.

check Crystal Report help documentation if it allows to create dynamic reports.


这篇关于在运行时按用户设置列顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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