在运行时按用户设置列顺序
大家好,我在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.