FillCollection fills a Collection of objects from a DataReader

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

Syntax

C#
public static ArrayList FillCollection(
	IDataReader dr,
	Type objType
)
Visual Basic
Public Shared Function FillCollection ( 
	dr As IDataReader,
	objType As Type
) As ArrayList

Parameters

dr
Type: System.Data..::..IDataReader
The Data Reader
objType
Type: System..::..Type
The type of the Object

Return Value

returnsM:DotNetNuke.Common.Utilities.CBO.FillCollection(System.Data.IDataReader,System.Type)

See Also