Yash.net
This blog is all about .net technology
Monday, August 1, 2011
delete a record
SqlCommand cmd = new SqlCommand("delete emp_master where Employee_id='" + TextBox1.Text+ "'", con);
cmd.CommandType = System.Data.CommandType.Text;
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Label18.Text = "Record deleted successfully";
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment