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

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULResultSet class


SetDBNull method

Sets a column to NULL.

Visual Basic
Public Sub SetDBNull( _
   ByVal columnID As Integer _
public void SetDBNull(
   int columnID
  • 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.


The data 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