Use the mechanism found here:

http://stackoverflow.com/questions/250037/gridview-sorting-sortdirection-always-ascending

By default SortDirection really only works with the fugly, insecure
SqlDatasource object. You easily hack it with the above method
however.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Sun, Sep 13, 2009 at 2:16 PM, smiling eyes <[email protected]> wrote:
> hi all
> i want to sort gridview in descending order, by default (as we enable Allow
> Sorting =true) it shows gridview data in ascending...
> is there any property exist to sort grid in descending order...
> Thanks in advance...
>
> --
> Regards
> Annie Rao
>

Reply via email to