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 ESRI.ArcGIS.ADF.ArcGISServer.RecordSet |
Visual Basic (Usage) | Copy Code |
---|
Dim table As DataTable
Dim OIDColumnName As String
Dim value As ESRI.ArcGIS.ADF.ArcGISServer.RecordSet
value = Converter.ToRecordSet(table, 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.
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