添加数据代码:
myRS.AddNew
myRS.Fields! "用户名" = txtName.Text
myRS.Fields! "密码" = txtPwd.Text
myRS.Update
myRS.MoveLast
出错提示:
编译错误:
属性的使用无效
谢!!!
myRS.AddNew
myRS.Fields! "用户名" = txtName.Text
myRS.Fields! "密码" = txtPwd.Text
myRS.Update
myRS.MoveLast
出错提示:
编译错误:
属性的使用无效
谢!!!
??
应该是
myRS.Fields( "用户名").value = txtName.Text