用sql insert方法添加记录。vb 6.0
strsqladd = "insert into userinfo(level, username, password) values ('" & CboLevel.Text & "', '" & TxtUsername.Text & "', '" & TxtPassword.Text & "')"
cnn.Execute strsqladd
上段代码有什么错误?总是说syntac error in insert into statement,我不想用addnew方法。
level,username,password 是table field name
cbolevel,txtusername,txtpassword是控件名
谢谢各位!很郁闷