with adoquery do beginclose;sql.clear;SQL.Add('update Card_CG_Contract_MXB set price =:a where CardcontractID =dbgriddetails.SelectedRows.item[1]' ); SQL.Add('and Col2 = trim(ComboBoxTuhao.text) and Col4 = trim(ComboBoxguige.txet)'); SQL.Add('and Col5 = trim(ComboBoxcaizhi.text)'); parameters.ParamByName('a').Value:=trim(ComboBox10.Text); ExecSQL;这是更新,麻烦哪位大虾看下,怎么执行不了