Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbDataAdapter.CreateRowUpdatingEvent Method

Initializes a new instance of the RowUpdatingEventArgs class.

[Visual Basic]
Protected MustOverride Function CreateRowUpdatingEvent( _
   ByVal dataRow As DataRow, _
   ByVal command As IDbCommand, _
   ByVal statementType As StatementType, _
   ByVal tableMapping As DataTableMapping _
) As RowUpdatingEventArgs
protected abstract RowUpdatingEventArgs CreateRowUpdatingEvent(
 DataRow dataRow,
 IDbCommand command,
 StatementType statementType,
 DataTableMapping tableMapping
protected: virtual RowUpdatingEventArgs* CreateRowUpdatingEvent(
 DataRow* dataRow,
 IDbCommand* command,
 StatementType statementType,
 DataTableMapping* tableMapping
) = 0;
protected abstract function CreateRowUpdatingEvent(
   dataRow : DataRow,
 command : IDbCommand,
 statementType : StatementType,
 tableMapping : DataTableMapping
) : RowUpdatingEventArgs;


The DataRow that updates the data source.
The IDbCommand to execute during the Update.
Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement .
A DataTableMapping object.

Return Value

A new instance of the RowUpdatingEventArgs class.


Notes to Inheritors:  When overridding CreateRowUpdatingEvent in a derived class, be sure to call the base class's CreateRowUpdatingEvent method.


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

DbDataAdapter Class | DbDataAdapter Members | System.Data.Common Namespace

© 2015 Microsoft