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 ) |
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