delphi dbgrid
Delphi DBGrid is such a powerful component that you're probably using it every day if you're developing data-aware applications. Below, we'll take a look at how to add some more features to your database applications that your users are sure to love.
Delphi DBGrid是一个功能强大的组件,如果您正在开发数据感知应用程序,则可能每天都在使用它。 下面,我们将研究如何向您的用户肯定喜欢的数据库应用程序添加更多功能。
Following the concepts described in the Beginners Guide to Delphi Database Programming, the examples below use ADO components (AdoQuery/AdoTable connected to ADOConnection, DBGrid connected to AdoQuery over DataSource) to display the records from a database table in a DBGrid component.
遵循《 Delphi数据库编程初学者指南》中描述的概念,下面的示例使用ADO组件(连接到ADOConnection的AdoQuery / AdoTable,通过数据源连接到AdoQuery的DBGrid)来显示DBGrid组件中数据库表中的记录 。
All the component names were left as Delphi named them when dropped on the form (DBGrid1, ADOQuery1, AdoTable1, etc.).
当所有组件名称放在窗体上(DBGrid1,ADOQuery1,AdoTable