查询出来后显示在datagrid1中
我怎么也显示不出来啊
希望高手给点意见
最好详细点啊
我是菜鸟啊
谢谢高手们了啊
我的详细代码和错误
Option Explicit
Private dbConn As ADODB.Connection
Private Rst As ADODB.Recordset
Private Sub Form_Load()
Me.Picture = LoadPicture(mypath + "2.jpg")
Set dbConn = New ADODB.Connection
dbConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\adu.mdb;Mode=ReadWrite;Persist Security Info=False"
Set Rst = New ADODB.Recordset
Rst.CursorLocation = adUseClient
Rst.Open "select * from beizhu where 备注时间 < & Now()"", dbConn, adOpenKeyset, adLockPessimistic, adCmdText"
Set DataGrid1.DataSource = Rst
End Sub
库是adu
表名 beizhu
字段名 备忘时间
实时错误‘3709’
在一个已关闭的或无效连接的对象参照上操作不被任许