Export (0) Print
Expand All
Expand Minimize

LoadOption Enumeration

Controls how the values from the data source will be applied to existing rows when using the Load or Load method.

Namespace: System.Data
Assembly: System.Data (in system.data.dll)

public enum LoadOption
public enum LoadOption
public enum LoadOption

 Member nameDescription
Supported by the .NET Compact FrameworkOverwriteChangesThe incoming values for this row will be written to both the current value and the original value versions of the data for each column. 
NoteNote:

This member is supported by the .NET Framework version 2.0.

Supported by the .NET Compact FrameworkPreserveChangesThe 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. 
NoteNote:

This member is supported by the .NET Framework version 2.0.

Supported by the .NET Compact FrameworkUpsertThe 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. 
NoteNote:

This member is supported by the .NET Framework version 2.0.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

.NET Compact Framework

Supported in: 2.0

XNA Framework

Supported in: 1.0

Community Additions

ADD
Show:
© 2014 Microsoft