C#如何更改快速报告中的排序顺序
他正在工作 如何在C#?中更改排序顺序C#如何更改快速报告中的排序顺序,c#,report,reporting,fastreport,C#,Report,Reporting,Fastreport,他正在工作 如何在C#?中更改排序顺序升序或降序?请尝试以下大小: report1.Load("C:\\test.frx"); (report1.FindObject("Data1") as DataBand).Sort.Add(new Sort("[Product.Cost]")); 这可以是动态的吗?列的名称。。。 new Sort(String column, Boolean descending) new Sort("[Product.Cost]", true) // For des
升序
或降序
?请尝试以下大小:
report1.Load("C:\\test.frx");
(report1.FindObject("Data1") as DataBand).Sort.Add(new Sort("[Product.Cost]"));
这可以是动态的吗?列的名称。。。
new Sort(String column, Boolean descending)
new Sort("[Product.Cost]", true) // For descending
new Sort("[Product.Cost]", false) // For ascending