This documentation is archived and is not being maintained.

DataGridDesigner.SetTemplateContent Method

Sets the content for the specified template and frame.

[Visual Basic]
Overrides Public Sub SetTemplateContent( _
   ByVal editingFrame As ITemplateEditingFrame, _
   ByVal templateName As String, _
   ByVal templateContent As String _
)
[C#]
public override void SetTemplateContent(
 ITemplateEditingFrame editingFrame,
 string templateName,
 string templateContent
);
[C++]
public: void SetTemplateContent(
 ITemplateEditingFrame* editingFrame,
 String* templateName,
 String* templateContent
);
[JScript]
public override function SetTemplateContent(
   editingFrame : ITemplateEditingFrame,
 templateName : String,
 templateContent : String
);

Parameters

editingFrame
The ITemplateEditingFrame to set the content for.
templateName
The name of the template.
templateContent
The content to set.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

DataGridDesigner Class | DataGridDesigner Members | System.Web.UI.Design.WebControls Namespace

Show: