发布网友 发布时间:2024-10-23 17:57
共1个回答
热心网友 时间:2024-11-01 13:46
set太多了,正确如下:
cmd.CommandText = "update S set SNAME='" & Trim(Up_txtName.Text) & "', SAGE=" & Trim(Up_txtAge.Text) & " ,SEX='" & Trim(Up_txtSex.Text) & "' where SNO='" & Up_lblSNO.Caption & "'"