FillCollection fills a Collection of objects from a DataReader
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static ArrayList FillCollection( IDataReader dr, Type objType, bool closeReader ) |
Visual Basic |
---|
Public Shared Function FillCollection ( dr As IDataReader, objType As Type, closeReader As Boolean ) As ArrayList |
Parameters
- dr
- Type: System.Data..::..IDataReader
The Data Reader
- objType
- Type: System..::..Type
The type of the Object
- closeReader
- Type: System..::..Boolean
Flag that indicates whether the Data Reader should be closed.