本文讲述了使用ADO 控件访问数据库时如何用程序来实现数据库的连接和数据感知 控件与数据库的绑定、如何实现动态查询和动作查询以及如何用ADO 控件的事件来限制字段取值等技巧,这些技巧在开发数据库应用程序中很有实用价值。 关键字:数据库,VB,ADO 控件,绑定,动态查询,动作查询,SQL Server,存储过程 Abstract:This paper discusses several kinds of technique for ADO accessing database. For example: How to link to database and how to bind database with data aware by program code? How to realizing dynamic query and action query? How to limiting the fields value by the events of ADO control? These several kinds of technique are very useful in developing database application program. Key Words: Database,VB,ADO Control,Bind,Dynamic query,Action query, SQL Server,Stored Procedure