hi there im trying to get my delete statement to work but it keeps on erroring on executequery, is this is the wrong way to do this
VB.NET:
Dim TheConnection As New MySqlConnection("server=localhost;" _
& "user id=root;" _
& "password=password;" _
& "database=supervid")
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cmd As New MySqlCommand
cmd.CommandType = System.Data.CommandType.Text
cmd.CommandText = "DELETE FROM tblMember WHERE MemberNo ='" & txtMember.Text & "'"""
TheConnection.Open()
cmd.ExecuteNonQuery()
TheConnection.Close()
MessageBox.Show("Removed From System!")
End Sub