Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Deleting a row when using DefaultView
I am using the DefaultView to display my data (so I can sort and filter it). It works well, except I have noticed a problem deleting a row.
When I call the form's Delete() method and follow it through, in mmBusinessForm.GetCurrentRow, in getting the DataRowView to return, it gets the current row number (correctly) then applies it to the table (instead of the DefaultView).
I could override the mmBusinesForm.Delete so it uses the DefaultView, but since using the DefaultView was recommended in the documentation, I'm wondering if I'm doing something wrong?
Thanks for the help,
Jeff
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement