Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iterate through Datagrid or mmBindingList
Message
De
07/07/2010 13:56:30
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Iterate through Datagrid or mmBindingList
Divers
Thread ID:
01471707
Message ID:
01471707
Vues:
138
Hi,

In VS2010 and MM.NET 4.0, I have populated a WPF Datagrid with a result set passed as a mmBindingList. I want to calculate the total of a numeric column and display it in a separate Textbox on the WPF window. I've googled for some examples but coming up short. I know how to get values from a selected row on a Datagrid. But in this case, a selected row does not apply. Does anyone know how to iterate through the rows of a WPF Datagrid and read/calculate values?

Or, as an alternative, is there another way to calculate values from the mmBindingList before I hand it to the Datagrid? Any examples or thoughts on the best way to proceed?

Guy
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform