Using a Simple Dataset

From RAD Studio
Jump to: navigation, search

Go Up to Using Client Datasets Index

TSimpleDataSet is a special type of client dataset designed for simple two-tiered applications. Like a unidirectional dataset, it can use an SQL connection component to connect to a database server and specify an SQL statement to execute on that server. Like other client datasets, it buffers data in memory to allow full navigation and editing support.

TSimpleDataSet works the same way as a generic client dataset (TClientDataSet) that is linked to a unidirectional dataset by a dataset provider. In fact, TSimpleDataSet has its own internal provider, which uses it to communicate with an internally created unidirectional dataset.

Using a simple dataset can simplify the process of two-tiered application development because you do not need to work with as many components.

When to use TSimpleDataSet provides information on when and how to use a simple dataset.


See Also