Making Modifications

Obviously, to eventually update a data store with information, it must first be changed in the DataSet that a data adapter will use to synchronize with the data store. These changes can occur through explicit programmatic manipulation of the data by adding, modifying, and deleting data in a DataTable, using the Merge method of the DataSet, the ImportRow or LoadDataRow methods of the DataTable, the Add method of the DataRowCollection object, the Item and ItemArray properties, or the Delete method of the DataRow as you learned over the last two days. In addition, changes can be made implicitly through bound controls on Windows Forms or Web Forms. In the case of the former, the data in the DataSet is changed automatically by ...

Get Sams Teach Yourself ADO.NET in 21 Days 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.