dotConnect for DB2 Documentation
Devart.Common Namespace / DbDataTable Class / Update() Method

In This Topic
    Update() Method
    In This Topic
    Executes the appropriate commands to delete, insert, or update rows in the data source.
    Syntax
    'Declaration
     
    Public Overridable Function Update() As Integer
    public virtual int Update()

    Return Value

    The number of rows successfully updated from the DbDataTable.
    Remarks
    If the CachedUpdates property is true, this method applies all updates made to the DbDataTable. If the CachedUpdates property is false, the method does nothing, because changes are applied instantly.
    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