| December 9, 2008 11:00 PM PST | |
Update the local version of the data used in a mobilized ADO.NET application. Mobilized applications require the ability to operate on local versions of data offline that can subsequently be updated on a server.
To insert a row in a DataTable, create a DataRow object using the DataTable’s NewRow method, add the data to DataColumns, and finally add the DataRow to the DataTable’s Rows collection. The following operations outline how the data operations are achieved locally on the DataSet:
- Insert row
- Update data in a row
- Delete selected row
The following code enacts those operations:
DataRow dr; |
This item may be most useful when used in conjunction with the following, separate items:
- How to Create an ADO.NET* DataSet for a Mobilized Application
- How to Manipulate Data in an ADO.NET* DataSet in a Mobilized Application
- How to Track Changes to an ADO.NET* DataSet in a Mobilized Application
Data Synchronization with the ADO.NET* DataSet
Identifying and Extracting Data Changes in the ADO.NET* Dataset
For more complete information about compiler optimizations, see our Optimization Notice.

