Home > Back-end >  Small white o C builder in the DataSet, the DataSource, the use of the DBGrid three brothers?
Small white o C builder in the DataSet, the DataSource, the use of the DBGrid three brothers?

Time:09-17

As title, please explain in detail

CodePudding user response:

Reference:
Database technology practice tutorials
[a person] ai-min Yang editor/publishing hangzhou: zhejiang university press, 2012.08

CodePudding user response:

Detailed still practice according to the tutorial,
Broadly speaking, the DataSet is a data object, responsible for the data read from the database, there are many kinds of, dbExpress column, BDE column, dbGo column, I use dbGo column, ADO controls,
DataSource is an intermediate control that can be set the DataSet is what, is the data object,
DBGrid is a data window can be according to the way you need them, he can set the DataSource, cannot directly set the DataSet,
There are also some commonly used methods and properties,

CodePudding user response:

Three brothers set methods, almost in every database engine first use was bde, is now the latest FireDAC, the original poster to learn just as well with the latest, see the following tutorial,
CX101 CB10 c + + Builder 10.1 Berlin FireDAC database development manual scanning V2017-07-19 PDF and Sourcecode
Link: https://pan.baidu.com/s/1k3Jt1QmSNBRkfu8SPAwrDQ password: 83 ev

CodePudding user response:

DataSource1 - & gt; The DataSet=ADOQuery1;
DBGrid1 - & gt; The DataSource=DataSource1;
  • Related