How to delete data from SQL Server in Visual C#
In this video you will see how to delete data from sql server using Visual C# Step by step.
string query = “delete from student where id='” + textBox1.Text + “‘”;
SqlDataAdapter sda = new SqlDataAdapter(query, con);
MessageBox.Show(“Record has been deleted successfully”);