SetDateTime method

Sets the value for the specified column using a System.DateTime.

Syntax
Visual Basic
Public Sub SetDateTime( _
   ByVal columnID As Integer, _
   ByVal val As Date _
)
C#
public void SetDateTime(
   int columnID,
   DateTime val
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

  • val   The new value for the column.

Remarks

The set value is accurate to the millisecond. The data in the row is not actually changed until you execute an ULTable.Insert or Update, and that change is not made permanent until it is committed.

See also