HtmlTable.InnerText Property

Gets or sets the content between the opening and closing tags of the control, with automatic conversion of special characters to their equivalent HTML entities. This property is not supported for this control.

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)

public:
virtual property String^ InnerText {
	String^ get () override;
	void set (String^ value) override;
}
/** @property */
public String get_InnerText ()

/** @property */
public void set_InnerText (String value)

public override function get InnerText () : String

public override function set InnerText (value : String)

Not applicable.

Property Value

The content between the opening and closing tags of the control.

Exception typeCondition

NotSupportedException

An attempt was made to read from or assign a value to this property.

Caution noteCaution:

Do not read from or assign a value to this property. Otherwise, a System.NotSupportedException exception is thrown. This property is inherited from the HtmlContainerControl class and is not applicable to the HtmlTable class.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: