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
[C#]
protected abstract RowUpdatingEventArgs CreateRowUpdatingEvent(
 DataRow dataRow,
 IDbCommand command,
 StatementType statementType,
 DataTableMapping tableMapping
);
[C++]
protected: virtual RowUpdatingEventArgs* CreateRowUpdatingEvent(
 DataRow* dataRow,
 IDbCommand* command,
 StatementType statementType,
 DataTableMapping* tableMapping
) = 0;
[JScript]
protected abstract function CreateRowUpdatingEvent(
   dataRow : DataRow,
 command : IDbCommand,
 statementType : StatementType,
 tableMapping : DataTableMapping
) : RowUpdatingEventArgs;

Parameters

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

Return Value

A new instance of the RowUpdatingEventArgs class.

Remarks

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

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

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

Show:
© 2015 Microsoft