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

SetByte method Next Page

SetBytes method


Sets the value for the specified column using an array of System.Bytes.

Syntax

Visual Basic

Public Sub SetBytes( _
ByVal columnID As Integer, _
ByVal val As Byte() _
)

C#

public void SetBytes(
int columnID,
byte[] val
);

Parameters
Remarks

Only suitable for columns of type ULDbType.Binary or ULDbType.LongBinary, or for columns of type ULDbType.UniqueIdentifier when val is of length 16. 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