Friday, October 5, 2007

How to work with TDBGrid object

How to work with TDBGrid object

To work with TDBGrid object

Step a: Go to Data Control Components bar

Step b: Select the TDBGrid Object

Step c: Add to the Form1

How to set the TDataSource properties

How to set the TDataSource properties

To set the TDataSource properties

Data Set = The name of an existing data set component, either at design time or at runtime.

How to work with the TDataSource

How to work with the TDataSource

To work with the TDataSource

Step a: Go to Data Access Components bar

Step b: Select the TDataSource Object

Step c: Add to the Form1

How to set the TTable Object properties

How to set the TTable Object properties

To set the TTable Object properties

Active = To open the table or close the table. If you want to open the table, set it to True, or close the table by setting False.

Database Name = The database name that you want to choose.

Table Name = To select the table name.