Edit ADO.NET Dataset

This sample shows how the ProvideDataView event can be used to view and edit a ADO.NET dataset. This mechanism is especially useful if you want to write the database access code yourself, but still want to use TEdit.NET to provide a table editor user interface.

In this sample, the dataset is created from code at first access, and is then stored as an XML-file on disk: no database needed!

View the source code.

Table: Search:  

 CountryIDNameCapital
Edit3NetherlandsAmsterdam (AMS)
Edit1USA 
Page: 1