How to DataAdapter Update Command - OLEDB

OleDbDataAdapter is a part of the ADO.NET Data Provider. The OleDbDataAdapter uses the Connection object of the .NET Framework data provider to connect to a data source and Command objects to retrieve data from and resolve changes to the data source. The InsertCommand , the UpdateCommand , and the DeleteCommand properties of the OleDbDataAdapter object update the Data Source with the data modifications that are run on a DataSet object.

The following C# code samples demonstrate how to use the OleDbDataAdapter object to update an OLEDB Data Source using UpdateCommand properties .