Version:
AddHtml(System.Web.UI.ControlCollection toControl, string tagName, string innerHtml) Method
Adds an instance of a System.Web.UI.HtmlGenericControl to a control collection.
Syntax
public
static
void AddHtml(System.Web.UI.ControlCollection toControl, string tagName, string innerHtml)
Parameters
- toControl
- Type: System.Web.UI.ControlCollection
Control collection to add to.
- tagName
- Type: string
The element tag name.
- innerHtml
- Type: string
The inner HTML of the element.