string sql = "UPDATE TPA SET NAME = '"+txtName.Text+"', CONTACT = '"+txtContact.Text+
"', STATUS = '"+selectedRadioButton()+"', DETAIL = '"+txtDetail.Text+"', IMAGE = '"+imageStored+
"' WHERE ID = '" + txtIdNo.Text + "';";
Did you try removing this 1st semi colon?
WHERE ID = '" + txtIdNo.Text + "'";
Something like this?
I just tried removing the 1st semi colon still not updating
Обсуждают сегодня