Solved

The Following Sample of Code Contains Errors

Question 4

Essay

The following sample of code contains errors. Rewrite the incorrect statements to correct all errors.
-' Delete a record from the dataset
Dim row As TextData
row = CustomerDataSet.tblCustomer.LookForCustID(3146)
Delete()
Try
TblCustomerTableAdapter.Save(CustomerDataSet.tblCustomer)
Catch ex As Exception
MessageBox.Show(ex.Message,"Delete record",
MessageBoxButtons.OK,
MessageBoxIcon.Information)
End Try

Correct Answer:

verifed

Verified

' Delete a record from the dataset
Dim r...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions