查询结果可以绑定datagrid或mshflexgrid或msflexgrid等控件来显示结果。sql="select * from table where xx=" & trim(text1)rs.open sql 。。。set datagrid1.datasource=rs