Public Sub Delete_data() cn.Open() Dim rs As New SqlCommand("delete * from shakhes where tadieh_shakhes='" & TextBoxX2.Text & "'", cn) rs.ExecuteNonQuery() cn.Close() display_data() End Sub
delete * from shakhes
delete from shakhes
DELETE FROM table_name WHERE some_column=some_value;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)