Gets or sets how command results are applied to the DataRow when used by the AdsDataAdapter.Update method.
public UpdateRowSource UpdatedRowSource {get; set;}
Remarks
The default value is UpdateRowSource.Both unless the command is automatically generated by the AdsCommandBuilder, in which case the default value is UpdateRowSource.None.
The UpdateRowSource enumeration has the following values.
Member Name |
Description |
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. |
See Also