Export (0) Print
Expand All

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
[C#]
UpdateRowSource UpdatedRowSource {get; set;}
[C++]
__property UpdateRowSource get_UpdatedRowSource();
__property void set_UpdatedRowSource(UpdateRowSource);
[JScript]
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.

Exceptions

Exception Type Condition
ArgumentException The value entered was not one of the UpdateRowSource values.

Requirements

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

Show:
© 2014 Microsoft