如下代码:
If NulltoStr(txtChkPsw.Text) <> NulltoStr(labPassword.Caption) Then
labPassword.Caption = txtChkPsw.Text
If DatMain.RecordSet.EditMode <> adEditNone Then
DatMain.RecordSet.Update
DatMain.Refresh
End If
End If说明:labPassWord标签控件与ADO控件是绑定在一起的,txtChkPsw文本控件没有与ADO绑定,以上这一种情况出现时,DatMain.RecordSet.EditMode = adEditNone ,记录集并没有改变,,请问各位高手,这一种情况该如何处理,如何更新入数据库呀?谢谢!!!
If NulltoStr(txtChkPsw.Text) <> NulltoStr(labPassword.Caption) Then
labPassword.Caption = txtChkPsw.Text
If DatMain.RecordSet.EditMode <> adEditNone Then
DatMain.RecordSet.Update
DatMain.Refresh
End If
End If说明:labPassWord标签控件与ADO控件是绑定在一起的,txtChkPsw文本控件没有与ADO绑定,以上这一种情况出现时,DatMain.RecordSet.EditMode = adEditNone ,记录集并没有改变,,请问各位高手,这一种情况该如何处理,如何更新入数据库呀?谢谢!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货