Converts the Recordset to a DataTable using the specified geometry and object ID columns.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim recordSet As ESRI.ArcGIS.ADF.ArcGISServer.RecordSet
Dim maxRecords As Integer
Dim returnFeatureGraphicsLayer As Boolean
Dim geometryColumn As String
Dim oidColumn As String
Dim value As DataTable
value = Converter.ToDataTable(recordSet, maxRecords, returnFeatureGraphicsLayer, geometryColumn, oidColumn) |
Parameters
- recordSet
- The RecordSet to convert.
- maxRecords
- The maximum number of records to convert.
- returnFeatureGraphicsLayer
- Whether to return the DataTable as a Web ADF T:ESRI.ArcGIS.ADF.Web.Display.Graphics.FeatureGraphicsLayer.
- geometryColumn
- The column in the Recordset that contains the geometry of the features.
- oidColumn
- The column in the Recordset that contains unique object IDs of features.
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