Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference » ULResultSet class

SetString method Next Page

SetTimeSpan method


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

Syntax

Visual Basic

Public Sub SetTimeSpan( _
ByVal columnID As Integer, _
ByVal val As TimeSpan _
)

C#

public void SetTimeSpan(
int columnID,
TimeSpan val
);

Parameters
Remarks

The set value is accurate to the millisecond and is normalized to a nonnegative value between 0 and 24 hours. 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.

Exceptions
See also