Converts the Recordset to a DataTable, up to the number of records specified.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Shared Function ToDataTable( _
ByVal recordSet As ESRI.ArcGIS.ADF.ArcGISServer.RecordSet, _
ByVal maxRecords As Integer _
) As DataTable |
Visual Basic (Usage) | Copy Code |
---|
Dim recordSet As ESRI.ArcGIS.ADF.ArcGISServer.RecordSet
Dim maxRecords As Integer
Dim value As DataTable
value = Converter.ToDataTable(recordSet, maxRecords) |
Parameters
- recordSet
- The RecordSet to convert.
- maxRecords
- The maximum number of records to convert.
Return Value
The
DataTable with equivalent fields and rows as the Recordset.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also