UpdateRowSource Enumeration

 

Specifies how query command results are applied to the row being updated.

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

public enum UpdateRowSource

Member nameDescription
Both

Both the output parameters and the first returned row are mapped to the changed row in the DataSet.

FirstReturnedRecord

The data in the first returned row is mapped to the changed row in the DataSet.

None

Any returned parameters or rows are ignored.

OutputParameters

Output parameters are mapped to the changed row in the DataSet.

The UpdateRowSource values are used by the UpdatedRowSource property of IDbCommand and any classes derived from it.

For more information property, see DataAdapter Parameters.

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