NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.CreateColumnSet

Creates the set of columns to be used to build up the control hierarchy. When AutoGenerateColumns is true, the columns are created to match the datasource and are appended to the set of columns defined in the Columns collection.

[Visual Basic]
Overridable Protected Function CreateColumnSet( _
   ByVal dataSource As ICollection, _
   ByVal useDataSource As Boolean _
) As ArrayList
[C#]
protected virtual ArrayList CreateColumnSet(
   ICollection dataSource,
   bool useDataSource
);
[C++]
protected: virtual ArrayList* CreateColumnSet(
   ICollection* dataSource,
   bool useDataSource
);
[JScript]
protected function CreateColumnSet(
   dataSource : ICollection,
   useDataSource : Boolean
) : ArrayList;

Parameters

dataSource
[To be supplied.]
useDataSource
[To be supplied.]

See Also

DataGrid Class | DataGrid Members | System.Web.UI.WebControls Namespace