DbCommand.UpdatedRowSource Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public abstract UpdateRowSource UpdatedRowSource { get; set; }

Property Value

Type: System.Data.UpdateRowSource

One of the UpdateRowSource values. The default is Both unless the command is automatically generated. Then the default is None.

Throws a ArgumentException if the value entered was not one of the UpdateRowSource values.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: