6.2. Patterns of Data Presentation

The ADO.NET infrastructure supports the most commonly used methods of data presentation without the need to write custom code. Single-record presentation displays one record of data at a time. A single record might contain data from more than one table or even more than one data store. Data can be locked, pessimistically or optimistically, while being presented. You implement insert, update, and delete using discrete SQL statements. With the ADO.NET infrastructure and single-record presentation, you can, for example, display user account information on a Web page or a PC screen using approximately the same code.

Scrolling-rowset presentation displays data in a grid. User changes to rows are sent to the database ...

Get Essential ADO.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.