System.Web.UI.WebControls Namespace DataGridColumnCollection Class
Initializes a new instance of the DataGridColumnCollection class.
[ VB ] Public Sub New ( _ ByVal owner As DataGrid, _ ByVal columns As ArrayList _ ) [ C# ] public DataGridColumnCollection ( DataGrid owner, ArrayList columns ); [ C++ ] public: DataGridColumnCollection ( DataGrid* owner, ArrayList* columns ); [ JScript ] public function DataGridColumnCollection ( owner : DataGrid, columns : ArrayList );
Use this constructor to initialize a new instance of the DataGridColumnCollection class.
The following example demonstrates how to initialize a new instance of the DataGridColumnCollection class.
void Page_Init ( Object src, EventArgs e ) { ArrayList myList = new ArrayList ( ); DataGridColumnCollection myColumns = new DataGridColumnCollection ( myGrid, myList ); }
Sub Page_Init ( src As Object, e As EventArgs ) Dim myList As New ArrayList ( ) Dim myColumns As New DataGridColumnCollection ( myGrid, myList ) End Sub
DataGridColumnCollection Members DataGrid ArrayList
© 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