主题:在VB中,运行后显示参数不足,期待是
sql = "insert into " & mytable & " values("
For iii = 1 To cols - 2
sql = sql & " " & st.Cells(jj, iii).Value & ","
Next iii
sql = sql & " " & st.Cells(jj, iii) & ")"
db.Execute (sql)
为什么提示参数不足,期待是5.这段程序有错吗?知道的说下,谢谢
For iii = 1 To cols - 2
sql = sql & " " & st.Cells(jj, iii).Value & ","
Next iii
sql = sql & " " & st.Cells(jj, iii) & ")"
db.Execute (sql)
为什么提示参数不足,期待是5.这段程序有错吗?知道的说下,谢谢