Updating a DataView
Typically when people hear the word view, they think of a read-only set of data derived from multiple tables. As we discussed in Chapter 11, the DataView represents a database view in .NET. Whereas you more than likely cannot update a view defined in your database, you are able to update a view in .NET by using the DataView class.
In case you have skipped around in this book, I'll take a moment to review. A DataSet is roughly akin to a subset of a database—although it is important to remember that data does not have to come from a database in ADO.NET. Within a DataSet you can have one or more DataTables and zero or more DataRelations. Each DataTable has what is referred to as its default data view. The default data view is ...
Get Visual Basic® .NET Power Coding 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.