ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1DataViewSet Class / RowChanging Event

In This Topic
    RowChanging Event (C1DataViewSet)
    In This Topic
    Occurs before editing of C1ViewRow will be finished.
    Syntax
    'Declaration
     
    Public Event RowChanging As C1ViewRowChangeEventHandler
    public event C1ViewRowChangeEventHandler RowChanging
    Event Data

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

    PropertyDescription
    Gets the type of change occurred on the C1ViewRow.  
    Gets the C1ViewRow that is being changed.  
    Remarks
    This event is triggered when editing of C1ViewRow belonging to a C1DataView contained in this C1DataViewSet is finishing, that is, the C1ViewRow.EndEdit method has been called for the row when it was in editing state (row is switched to an editing state by call of the C1ViewRow.BeginEdit method).

    Raising an exception in this event prevents a row from leaving of editing state.

    Note that this event is not triggered when changes are made directly to DataRow objects on which C1ViewRow is based. To process this case you should use ViewListChanged event.

    See Also