UpdatedRowSource Property

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)

public override UpdateRowSource UpdatedRowSource { get; set; }

Property Value

Type: System.Data.UpdateRowSource

One of the UpdateRowSource values.

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
Available since 1.1
Return to top
© 2015 Microsoft