I think:where username = 'txtupdate.text'will cover that Visakh - although the syntax looks wrong, I think it should be:'cmd = New MySqlCommand("Update user_account set (username,pass,sign_as) values('" + txtcreate_username.Text + "', '" + txtcreate_pass.Text + "','" + cmb_reg.Text + "')where username = '" + txtupdate.text + "'", conn)I'm presuming this syntax is OK in MySQL?UPDATE MyTableSET (Col1, Col2, Col3) VALUES ('Value1','Value2','Value3')WHERE ...
??More normally the syntax isUPDATE MyTableSET Col1 = 'Value1', Col2 = 'Value2', Col3 = 'Value3'WHERE ...