FillCollection fills a Collection of objects from a DataReader
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static IList FillCollection( IDataReader dr, Type objType, ref IList objToFill ) |
Visual Basic |
---|
Public Shared Function FillCollection ( dr As IDataReader, objType As Type, ByRef objToFill As IList ) As IList |
Parameters
- dr
- Type: System.Data..::..IDataReader
The Data Reader
- objType
- Type: System..::..Type
The type of the Object
- objToFill
- Type: System.Collections..::..IList%
An IList to fill