
07-05-2009, 12:10 PM
|
|
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
|
|
Join Date: Jun 2009
Posts: 7
Reputation: 0
|
|
Quote:
Originally Posted by ggunter
wongth7,
Don't take this the wrong way but you really would be better off using cjard's suggestion.
Generally speaking, you load an internal dataset with data from a database. When you click the "delete" button, it simply "marks" the record as deleted but the record stays until the the internal dataset is written back to the database and the dataset is cleared. Therefore, you would need to add code to skip a record that is marked as deleted plus more code to deal with all the other related situations (like, what if all the records are marked as deleted, or just the last, or just the first, etc.  ).
Cjard's suggestion does all that background coding for you.
|
erm...i appreciate that, but there's too many things for me to change on the interface if im gonna use bindingNavigator..and i dont have much time left...do anyone has other ideas??
|