Export (0) Print
Expand All

OdbcRowUpdatedEventArgs Class

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Provides data for the RowUpdated event. This class cannot be inherited.

For a list of all members of this type, see OdbcRowUpdatedEventArgs Members.

System.Object
   System.EventArgs
      System.Data.Common.RowUpdatedEventArgs
         System.Data.Odbc.OdbcRowUpdatedEventArgs

[Visual Basic]
NotInheritable Public Class OdbcRowUpdatedEventArgs
   Inherits RowUpdatedEventArgs
[C#]
public sealed class OdbcRowUpdatedEventArgs : RowUpdatedEventArgs
[C++]
public __gc __sealed class OdbcRowUpdatedEventArgs : public
   RowUpdatedEventArgs
[JScript]
public class OdbcRowUpdatedEventArgs extends RowUpdatedEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The RowUpdated event is raised when an update to a row is completed.

When using the Update method, there are two events that occur for each data row updated: RowUpdating and RowUpdated. The order of execution for an Update 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.

Requirements

Namespace: System.Data.Odbc

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

OdbcRowUpdatedEventArgs Members | System.Data.Odbc Namespace

Show:
© 2014 Microsoft