Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- con.Open();
- OleDbCommand cmd1 = new OleDbCommand();
- cmd1.Connection = con;
- cmd1.CommandText = "update login set password='"+passw.Text+"', Username='" + username.Text + "', firstname='" + user_name.Text + "', address='" + useraddress.Text + "',contact_no='" + usercontactno.Text + "',email='" + useremail.Text + "',birthday='" + userbirthday.Text + "',age='" + userage.Text + "' where id=" + nem + " ";
- cmd1.ExecuteNonQuery();
- con.Close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement