asp.net.ph

HyperLinkColumn Constructor

System.Web.UI.WebControls Namespace   HyperLinkColumn Class


Initializes a new instance of the HyperLinkColumn class.

[ VB ]
Public Sub New ( )

[ C# ]
public HyperLinkColumn ( );

[ C++ ]
public: HyperLinkColumn ( );

[ JScript ]
public function HyperLinkColumn ( );

Remarks

Use this constructor to initialize a new instance of the HyperLinkColumn class.

Example

The following example demonstrates how to initialize a new instance of the HyperLinkColumn class and add it to the Columns collection.

void Page_Init ( Object src, EventArgs e ) {
   HyperLinkColumn newColumn = new HyperLinkColumn ( );
   newColumn.HeaderText = "Click for Details"; 
   myGrid.Columns.AddAt ( 0, newColumn );
}
  C# VB

See Also

HyperLinkColumn Members   Adding HyperLink Columns to a DataGrid Control Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph