OleDbCommand.UpdatedRowSource Property

 

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

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

public override UpdateRowSource UpdatedRowSource { get; set; }

Property Value

Type: System.Data.UpdateRowSource

One of the UpdateRowSource values.

Exception Condition
ArgumentException

The value entered was not one of the UpdateRowSource values.

The default UpdatedRowSource value is Both unless the command is automatically generated (as with the OleDbCommandBuilder), in which case the default is None.

For more information about how to use the UpdatedRowSource property, see DataAdapter Parameters.

.NET Framework
Available since 1.1
Return to top
Show: