System.Data.LoadOption Enumeration

Controls how the values from the data source will be applied to existing rows when using the erload:System.Data.DataTable.Load or erload:System.Data.DataSet.Load method.

Syntax

public enum LoadOption

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
OverwriteChanges

The incoming values for this row will be written to both the current value and the original value versions of the data for each column.

PreserveChanges

The incoming values for this row will be written to the original value version of each column. The current version of the data in each column will not be changed. This is the default.

Upsert

The incoming values for this row will be written to the current version of each column. The original version of each column's data will not be changed.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0