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




dataTable
Table to apply template to.
contentsTemplate
The template to apply.
Applies the contents template to the data table. This template will be honored by ADF controls that display rows from the table.

Syntax

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

Parameters

dataTable
Table to apply template to.
contentsTemplate
The template to apply.

See Also

© 2010 All Rights Reserved.