asp.net.ph

SqlRowUpdatingEventArgs Class

System.Data.SqlClient Namespace


Provides data for the RowUpdating event.

SqlRowUpdatingEventArgs Class Members

Collapse   Constructors

Visibility Constructor Parameters
public SqlRowUpdatingEventArgs ( DataRow row , IDbCommand command , StatementType statementType , DataTableMapping tableMapping )

Collapse   Properties

Visibility Name Value Type Accessibility
public Command SqlCommand [ Get , Set ]

Remarks

The RowUpdating event is raised before an Update to a row.

When using Update, there are two events that occur for each data row updated. The order of execution is as follows:

  1. the values in the DataRow are moved to the parameter values.
  2. the OnRowUpdating event is raised.
  3. the command executes.
  4. If the command is set to FirstReturnedRecord, then the first returned result is placed in the DataRow.
  5. If there are output parameters, they are placed in the DataRow.
  6. the OnRowUpdated event is raised.
  7. AcceptChanges is called.

See Also

SqlDataAdapter.RowUpdating Event   SqlRowUpdatingEventHandler Delegate Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph