Version

Update() Method

Updates the data source with any modified cell values for this record.
Syntax
'Declaration
 
Public Function Update() As Boolean
public bool Update()
Remarks

The Update method updates any modified information in the record, sending it to the data provider. When the update is complete the DataChanged property will be set to False.

Normally, this is handled automatically, so there will be few situations in which you will need to invoke this method. The major exception is when you have set the UpdateMode property to 'OnUpdate'. When using that setting, no automatic updates will be sent to the data provider until you invoke the Update method. You must use the method to manually update the data provider whenever data has been changed and you are ready to commit the changes.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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