Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows forms sort using dataviews
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Windows forms sort using dataviews
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01338204
Message ID:
01338204
Vues:
55
I have a Windows form with an mmDataGridView object. I managed to get the DefaultView to work but I'm not sure what to do about changing the sort orders. I would like to keep the functionality of letting the users click on the header of the column but, as an example, when they click on the header of the Last Name, I would like the sort to use my DataView ordered by lastname, firstname and middlename. Do I need to trap this in the gridview's sorting event and set the DataView there?
Linda Harmes
HiBit Technologies, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform