Answer to Question #19011 in Visual Basic for sam

Question #19011
My code does not work, I want to be able to delete a record using a button. So far I have Private Sub btnDelete_Click(sender As System.Object, e As System.EventArgs) Handles btnDelete.Click Dim EmployeeID As String Dim sql As String EmployeeID = dgvEmployees.CurrentRow.Cells(0).Value.ToString sql = "delete * from employees where FirstName =" & EmployeeID End Sub
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal