ESRI.ArcGIS.ADF.Web
ApplyTemplateFields(DataTable,String) Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > GraphicsLayer Class > ApplyTemplateFields Method : ApplyTemplateFields(DataTable,String) Method




dataTable
Table to apply template to.
templateFields
A comma-delimited list of fields used in contents and title templates. Used for handling rare scenarios where a contents template might have fields that are not in a data table that needs to be formatted using it.
Applies the permissible list of template to the data table. When title and contents templates are used to format datarows from this table, fields that are on this list will be escaped if not present in the datatable.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub ApplyTemplateFields( _
   ByVal dataTable As DataTable, _
   ByVal templateFields As String _
) 
Visual Basic (Usage)Copy Code
Dim dataTable As DataTable
Dim templateFields As String
 
GraphicsLayer.ApplyTemplateFields(dataTable, templateFields)
C# 
public static void ApplyTemplateFields( 
   DataTable dataTable,
   string templateFields
)

Parameters

dataTable
Table to apply template to.
templateFields
A comma-delimited list of fields used in contents and title templates. Used for handling rare scenarios where a contents template might have fields that are not in a data table that needs to be formatted using it.

See Also

© 2010 All Rights Reserved.