Thursday , 6 October 2022
Breaking News

How to delete data from SQL Server in Visual C#

Spread the love

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.

con.Open();
string query = “delete from student where id='” + textBox1.Text + “‘”;
SqlDataAdapter sda = new SqlDataAdapter(query, con);
sda.SelectCommand.ExecuteNonQuery();
con.Close();
MessageBox.Show(“Record has been deleted successfully”);

 

The above video tutorial shows how to delete data from SQL Server in Visual C# platform. please see the video tutorial and share it with other users.

Leave a Reply

Your email address will not be published.

Adnan Online Class
%d bloggers like this:
depotdana.com
slot online
dana69rtp.com
slot
dangdut4d
heylink.me/dangdut4d_slot