紧急求救,在线急等!!!
冰天天 2006-01-06 10:05:15 run-time error '-2147217900(80040e14)';
第1行:'2006'附近有语法错误
出错代码:
cn.Open strSQLserver
cn.Execute "insert into dpr (dprid,[date],[user],shift,batchid,package,cause,name,shift1)values" & _
"('" & txtId.Text & ",'" & Format(dtpDate.Value, "yyyy-mm-dd") & "','" & txtUser.Text & "','" & cboShift.Text & "','" & txtBatchId.Text & "'," & _
"'" & txtPackage.Text & "','" & txtContent.Text & "','" & txtName.Text & "','" & cboShift1.Text & "')"
cn.Close
这是什么错误?