The GetTotalRecords method gets the number of Records returned.

Namespace: DotNetNuke.Common
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static int GetTotalRecords(
	ref IDataReader dr
)
Visual Basic
Public Shared Function GetTotalRecords ( 
	ByRef dr As IDataReader
) As Integer

Parameters

dr
Type: System.Data..::..IDataReader%
An IDataReader containing the Total no of records

Return Value

An Integer

See Also