Runtime Sorting
Posted: Mon Jul 09, 2007 8:58 pm
Hi,
I have seen this post somewhere..
Please use following code in BeforeRender Event of DataBand2 in StimulReport.Net:
Code:
DataBand2.Sort = new string[] {"ASC","ProductName","DESC","UnitPrice"};
DESC - sorting in descending order
ASC - sorting in ascending order
Address, UnitPrice - are Columns from your Datasource.
Thanks.
I am new here..how can i access the BeforeRender event. I am using StiReportWeb.
Thank you.
I have seen this post somewhere..
Please use following code in BeforeRender Event of DataBand2 in StimulReport.Net:
Code:
DataBand2.Sort = new string[] {"ASC","ProductName","DESC","UnitPrice"};
DESC - sorting in descending order
ASC - sorting in ascending order
Address, UnitPrice - are Columns from your Datasource.
Thanks.
I am new here..how can i access the BeforeRender event. I am using StiReportWeb.
Thank you.