DataControlFieldDesigner.GetTemplate Method (DataBoundControl, String)

 

Gets the ITemplate object that contains the template markup for the specified data-bound control.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

Protected Function GetTemplate (
	control As DataBoundControl,
	templateContent As String
) As ITemplate

Parameters

control
Type: System.Web.UI.WebControls.DataBoundControl

The data-bound control.

templateContent
Type: System.String

The template markup.

Return Value

Type: System.Web.UI.ITemplate

An object that contains the template markup for the specified data-bound control.

.NET Framework
Available since 2.0
Return to top
Show: