asp.net.ph

DataGrid Constructor

System.Web.UI.WebControls Namespace   DataGrid Class


Initializes a new instance of the DataGrid class.

[ VB ]
Public Sub New ( )

[ C# ]
public DataGrid ( );

[ C++ ]
public: DataGrid ( );

[ JScript ]
public function DataGrid ( );

Remarks

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

Example

The following example demonstrates how to initialize a new instance of the DataGrid class.

void Page_Load ( Object src, EventArgs e ) {
   DataGrid myDataGrid = new DataGrid ( );
}
  C# VB

See Also

DataGrid Members 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