Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbDataAdapter::CreateRowUpdatingEvent Method (DataRow^, IDbCommand^, StatementType, DataTableMapping^)

 

Initializes a new instance of the RowUpdatingEventArgs class.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

protected:
virtual RowUpdatingEventArgs^ CreateRowUpdatingEvent(
	DataRow^ dataRow,
	IDbCommand^ command,
	StatementType statementType,
	DataTableMapping^ tableMapping
)

Parameters

dataRow
Type: System.Data::DataRow^

The DataRow that updates the data source.

command
Type: System.Data::IDbCommand^

The IDbCommand to execute during the Update.

statementType
Type: System.Data::StatementType

Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.

tableMapping
Type: System.Data.Common::DataTableMapping^

A DataTableMapping object.

Return Value

Type: System.Data.Common::RowUpdatingEventArgs^

A new instance of the RowUpdatingEventArgs class.

Notes to Inheritors:

When overriding CreateRowUpdatingEvent in a derived class, be sure to call the base class's CreateRowUpdatingEvent method.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft