Fill DataSet based on select statement and record interval

Namespace: Caisis.DataAccess
Assembly: Caisis.DataAccess (in Caisis.DataAccess.dll) Version: 4.0.4947.22627

Syntax

C#
public static DataSet GetList(
	SqlCommand com,
	int startRow,
	int numRows
)
Visual Basic
Public Shared Function GetList ( 
	com As SqlCommand,
	startRow As Integer,
	numRows As Integer
) As DataSet
Visual C++
public:
static DataSet^ GetList(
	SqlCommand^ com, 
	int startRow, 
	int numRows
)

Parameters

com
Type: System.Data.SqlClient..::..SqlCommand
Sql statement
startRow
Type: System..::..Int32
First record returned
numRows
Type: System..::..Int32
Last record returned

Return Value

Type: DataSet
Result set and rowcount

See Also