ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToRecordSet Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class : ToRecordSet Method




table
The DataTable to convert.
OIDColumnName
The column contained object ID values for the table.
Converts a .NET DataTable to an ArcGIS Server ADF RecordSet.

Syntax

Visual Basic (Declaration) 
Public Shared Function ToRecordSet( _
   ByVal table As DataTable, _
   ByVal OIDColumnName As String _
) As RecordSet
Visual Basic (Usage)Copy Code
Dim table As DataTable
Dim OIDColumnName As String
Dim value As RecordSet
 
value = Converter.ToRecordSet(table, OIDColumnName)
C# 
public static RecordSet ToRecordSet( 
   DataTable table,
   string OIDColumnName
)

Parameters

table
The DataTable to convert.
OIDColumnName
The column contained object ID values for the table.

Return Value

A RecordSet with the same fields and records.

See Also

© 2010 All Rights Reserved.