SqlCommand.UpdatedRowSource Property

Definition

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

public override System.Data.UpdateRowSource UpdatedRowSource { get; set; }
member this.UpdatedRowSource : System.Data.UpdateRowSource with get, set
Public Overrides Property UpdatedRowSource As UpdateRowSource

Property Value

UpdateRowSource

One of the UpdateRowSource values.

Remarks

The default UpdateRowSource value is Both unless the command is automatically generated (as in the case of the SqlCommandBuilder), in which case the default is None.

For more information about using the UpdatedRowSource property, see DataAdapter Parameters.

Applies to