i watched a course and the teacher write this code and its worked for him but shows me this error.. my CODE
private void button2_Click(object sender, EventArgs e){
con.Open();
SqlCommand cmd = new SqlCommand("update Admin set
username=@username.password=@password.Fullname=@Fullname")
cmd.Parameters.AddWithValue("@username", textuser.Text);
cmd.Parameters.AddWithValue("@password", textpassword.Text);
cmd.Parameters.AddWithValue("@Fullname", textFullname.Text);
cmd.Parameters.AddWithValue("@id", id);
cmd.ExecuteNonQuery(); // Error In This Line...
con.Close();
MessageBox.Show("DELETED");
upload_data_into_GridView_from_database();
}