GetTotalResultRowNumber Method

The GetTotalResultRowNumber method of the QueryResultBase class gets the total number of rows in the result set.

Return Value

Int32 Total number of rows in the result DataSet.

Remarks

The GetTotalResultRowNumber method gets the total number of rows in the result set. If the DataSet is null, this method returns 0. Override this method if your derived class needs to exclude results from the count.

Requirements

Platforms: Microsoft Windows ServerĀ 2003

Security: Code Access Security