Hi, i'm learning to use the CrystalReportViewer.
From my application, if i click sort, the data in the viewer will be sort due to ProductName, so i try to use the SortFields, but everytime i try to call something like SortFields[0], i always get an error saying "bad index"
Please have a look at my code and help me, thanks a lot, the problem is in Click event of btnSort