ADOConnection连接,ADOQuery控件有个选项和ADOConnection关联,然后就可以用ADOQuery控件使用SQL语句了
使用ADOConnection连接
加一个ADOConnection连接组件。双击它,编辑连接串(ConnectionString)。