ArcFM Responder Mobile Developer Guide
RefreshOriginalValues Method






The database session (connection/transaction)
The DataRow to refresh.
Overwrites the 'original values' in the DataRow with the current values from the database.
Syntax
'Declaration
 
Public Sub RefreshOriginalValues( _
   ByVal session As DataSession, _
   ByVal row As System.Data.DataRow _
) 
'Usage
 
Dim instance As DataLoader
Dim session As DataSession
Dim row As System.Data.DataRow
 
instance.RefreshOriginalValues(session, row)
public void RefreshOriginalValues( 
   DataSession session,
   System.Data.DataRow row
)
public procedure RefreshOriginalValues( 
    session: DataSession;
    row: System.Data.DataRow
); 
public function RefreshOriginalValues( 
   session : DataSession,
   row : System.Data.DataRow
);
public: void RefreshOriginalValues( 
   DataSession* session,
   System.Data.DataRow* row
) 
public:
void RefreshOriginalValues( 
   DataSession^ session,
   System.Data.DataRow^ row
) 

Parameters

session
The database session (connection/transaction)
row
The DataRow to refresh.
Remarks
The row information is retrieved from the database by means of the primary key collection on the row's parent table. This means that the primary key collection of the row's parent DataTable MUST be populated for this function to work.
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

Reference

DataLoader Class
DataLoader Members

Send Feedback