asp.net.ph

EditCommandColumn Constructor

System.Web.UI.WebControls Namespace   EditCommandColumn Class


Initializes a new instance of the EditCommandColumn class.

[ VB ]
Public Sub New ( )

[ C# ]
public EditCommandColumn ( );

[ C++ ]
public: EditCommandColumn ( );

[ JScript ]
public function EditCommandColumn ( );

Remarks

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

Example

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

void Page_Load ( Object src, EventArgs e ) {
   EditCommandColumn newColumn = new EditCommandColumn ( );
   myGrid.Columns.AddAt ( 0, newColumn );
}
  C# VB

See Also

EditCommandColumn Members   Adding EditCommand 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