General information
Category:
The Mere Mortals .NET Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only