把datagrid跟adodc控件绑定即可自动显示adodc的数据:
......
Adodc1.RecordSource = "SQL查询语句"
Adodc1.Refresh
Set DataGrid1.DataSource = Adodc1
......
text也可以和adodc控件的指定字段绑定,也可以用如下方式(要保证adodc1中已经有数据):
text1.text=adodc1.recordset(0)
text2.text=adodc1.recordset(1)
text3.text=adodc1.recordset(2)
......
温馨提示:答案为网友推荐,仅供参考