I am still having trouble getting the data-row in a Access data-base linked to my WPF project to delete.
The delete button was made from following the Beth Massi video on Data input sheet and information comes from access Data base. It deletes while I have the form open but close and open again and the row or rows are back. It is not deleteing from the Data-base .I am using a DataSet & Tableadapter
Private Sub btndelete_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnDelete.Click
If Me.view.CurrentPosition > 1 Then
Dim row = CType(Me.view.CurrentItem, System.Data.DataRowView).Row
row.Delete()
End If
End Sub
Thanks
DAvid