VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / RowUpdating Event


In This Topic
    RowUpdating Event
    In This Topic
    Occurs during Update before a command is executed against the data source. The attempt to update is made, so the event fires.
    Syntax
    'Declaration
     
    
    Public Event RowUpdating As VistaDBRowUpdatingEventHandler
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim handler As VistaDBRowUpdatingEventHandler
     
    AddHandler instance.RowUpdating, handler
    public event VistaDBRowUpdatingEventHandler RowUpdating
    Event Data

    The event handler receives an argument of type VistaDBRowUpdatingEventArgs containing data related to this event. The following VistaDBRowUpdatingEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a new instance of the VistaDBCommand class.  
    Gets any errors generated by the .NET Framework data provider when the System.Data.Common.RowUpdatedEventArgs.Command executes. (Inherited from System.Data.Common.RowUpdatingEventArgs)
    Gets the System.Data.DataRow that will be sent to the server as part of an insert, update, or delete operation. (Inherited from System.Data.Common.RowUpdatingEventArgs)
    Gets the type of SQL statement to execute. (Inherited from System.Data.Common.RowUpdatingEventArgs)
    Gets or sets the System.Data.UpdateStatus of the System.Data.Common.RowUpdatedEventArgs.Command property. (Inherited from System.Data.Common.RowUpdatingEventArgs)
    Gets the System.Data.Common.DataTableMapping to send through the System.Data.Common.DbDataAdapter.Update(System.Data.DataSet). (Inherited from System.Data.Common.RowUpdatingEventArgs)
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also