Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter.
[Visual Basic] Property UpdatedRowSource As UpdateRowSource [C#] UpdateRowSource UpdatedRowSource {get; set;} [C++] __property UpdateRowSource get_UpdatedRowSource(); __property void set_UpdatedRowSource(UpdateRowSource); [JScript] function get UpdatedRowSource() : UpdateRowSource;function set UpdatedRowSource(UpdateRowSource);
One of the UpdateRowSource values. The default is Both unless the command is automatically generated. Then the default is None.
| Exception Type | Condition |
|---|---|
| ArgumentException | The value entered was not one of the UpdateRowSource values. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET
IDbCommand Interface | IDbCommand Members | System.Data Namespace