I'm working in VB.NET 2003. I'm working with datagrids, and have been able to successfully add, edit, cancel, and sort records. But the delete command is somehow deleting the wrong row. I'm thinking it might have something to do with the table being sorted and the item being deleted is equal to the item number in the unsorted table, but not the sorted data table. I could easily be wrong there. Can anyone point me to some code that will properly delete? I've searched all kinds of websites for code snippets to make this work but have failed on every attempt.
Thanks!
Thanks!