This documentation is archived and is not being maintained.

IDbCommand.UpdatedRowSource Property

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
UpdateRowSource UpdatedRowSource {get; set;}
__property UpdateRowSource get_UpdatedRowSource();
__property void set_UpdatedRowSource(UpdateRowSource);
function get UpdatedRowSource() : UpdateRowSource;function set UpdatedRowSource(UpdateRowSource);

Property Value

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

See Also

IDbCommand Interface | IDbCommand Members | System.Data Namespace