System.Web.UI.WebControls Namespace HyperLinkColumn Class
Sets or retrieves the text caption to display for the hyperlinks in the column.
Inline |
<asp:hyperlinkcolumn text = strText ... > |
Script |
HyperLinkColumn.Text = strText |
strText |
String specifying the text caption for the hyperlinks in the column. |
The property is read/write with no default value.
Use the Text property to specify the text caption to display for the hyperlinks in the column.
NOTE: When this property is set, all hyperlinks in the column share the same text caption.
To provide a separate text caption for each hyperlink in the column, use the DataTextField property.
NOTE: The DataTextField and Text properties cannot both be set at the same time. If both properties are set, the DataTextField property takes precedence.
HyperLinkColumn Members Adding HyperLink Columns to a DataGrid Control