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 » ULCommand class

ExecuteResultSet method Next Page

ExecuteResultSet method


UL Ext.: Executes a SQL SELECT statement with the specified command behavior and returns the result set as a ULResultSet.

Syntax

Visual Basic

Overloads Public Function ExecuteResultSet( _
ByVal cmdBehavior As CommandBehavior _
) As ULResultSet

C#

public ULResultSet ExecuteResultSet(
CommandBehavior cmdBehavior
);

Parameters
Return value

The result set as a ULResultSet object.

Remarks

The statement is the current ULCommand object, with the ULCommand.CommandText and any ULCommand.Parameters as required. The ULResultSet object is an editable result set on which you can perform positioned updates and deletes. For fully editable result sets, use ULCommand.ExecuteTable(CommandBehavior) or a ULDataAdapter.

If the ULCommand.CommandType is System.Data.CommandType.TableDirect, ExecuteReader performs an ULCommand.ExecuteTable(CommandBehavior) and returns a ULTable downcast as a ULResultSet.

Exceptions
See also