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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access