Dim strin As String = "Insert into ZC(用户名,密码,确认密码,密保问题,密保答案)" & "value(@username,@password,@repassword,@question,@answer)" '定义SQL插入语句的字符串
Dim objCmd As OleDbCommand(strin,objConn) '创建命令对象objCmd
在创建命令对象objCmd句中的strin出现“数组界面不能出现在类型说明符中”的错误提示,该如何修改呢?请高手指点。。。
sql语句有问题啊,逗号是中文逗号,value少一个s
Dim strin As String = "Insert into ZC(用户名,密码,确认密码,密保问题,密保答案)" & "values(@username,@password,@repassword,@question,@answer)" '