Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlCommand.UpdatedRowSource Property

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

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

abstract UpdatedRowSource : UpdateRowSource with get, set 
override UpdatedRowSource : UpdateRowSource with get, set

Property Value

Type: System.Data.UpdateRowSource
One of the UpdateRowSource values.

Implements

IDbCommand.UpdatedRowSource

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft