Hello guys, i have a code that would delete a row from datagridview and mysql. Now what i wanted to do is to delete multiple row instead of one. possible?
VB.NET:
command.CommandText = "delete from " & cmbTable.Text & " where ID = " & Val(DataGridView1.CurrentRow.Cells(0).Value.ToString)
' TextBox1.Text = DataGridView1.SelectedRows(0).Cells(0).ToString()
command.CommandType = CommandType.Text
command.Connection = conn
command.ExecuteNonQuery()