你说的是不在属性设置中绑定,而用代码绑定吧!如下:
Private Sub Form_Load()
With Adodc1
.ConnectionString = "Provider=Microsoft.JET.OLEDB.4.0;Data Source=" & App.Path & "\\fld.mdb;Persist Security Info=False"
.CommandType = adCmdText
.RecordSource = "select * from stuinfo"
.Refresh
End With
Set DataGrid1.DataSource = Adodc1
End Sub