Saturday , 15 August 2020
Breaking News

How to delete data from SQL Server in Visual C#


Notice: Undefined index: tie_hide_meta in /home1/adnanonl/public_html/wp-content/themes/sahifa/framework/parts/meta-post.php on line 3
Spread the love
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

Specify Facebook App ID and Secret in Super Socializer > Social Login section in admin panel for Facebook Login to work

Specify Twitter Consumer Key and Secret in Super Socializer > Social Login section in admin panel for Twitter Login to work

Specify LinkedIn Client ID and Secret in Super Socializer > Social Login section in admin panel for LinkedIn Login to work

Specify Instagram App ID and Instagram App Secret in Super Socializer > Social Login section in admin panel for Instagram Login to work

Your email address will not be published. Required fields are marked *


Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home1/adnanonl/public_html/wp-includes/functions.php on line 4609

Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home1/adnanonl/public_html/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 111