Order:
This is the first C # version of a "classic Crystal Report--click the table header to sort" at @ December 25, 2003 10:26:00).
If someone reprint please indicate the source.
This article is published synchronously in my blog: "Classic Crystal Report--click the table header Sort (2008 edition)"
http://blog.csdn.net/flydragon0815/archive/2008/12/21/3568052.aspx</p>
Development environment: VS2005, and this version of the Crystal Report with its own
The premise of this article is that the report can fully display the data
1. Click the first field in the header: Right → set object format, as shown below
2. Then in the Format editor, Hyperlink →internet Web site (A), and then under Site Address (I), enter: "Flydragon0815.aspx?" Fieldname=location ", the name of this page:" Flydragon0815.aspx "," FieldName "is the name of the parameter, that is, the name of the field," Flydragon0815.aspx "is the page for which you want to load the report.
"Flydragon0815.aspx?" Fieldname=location "The purpose of this writing is to put the name" Location "in the background code to control the sort
3. This step is more important, in the blank of the report right key: report → Record sorting expert