Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting GridView Problem
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01201377
Message ID:
01201872
Vues:
14
Thomas,

>I try to sort a gridview like the example in MM 2.3.
>Unfortunately e.SortDirection is always Ascending. But I want that the sorting toggles between Ascending and Descending.

Are you binding to a DataView? This is the way to get sorting functionality in ADO.NET. Check out the MM .NET Dev Guide topic "Working with DataViews" for details.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform