Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.UI.WebControls Namespace / AbleGridView Class / CreateColumns Method
A System.Web.UI.WebControls.PagedDataSource that represents the data source.
true to use the data source specified by the dataSource parameter; otherwise, false.
In This Topic
    CreateColumns Method
    In This Topic
    Creates the set of column fields used to build the control hierarchy.
    Syntax
    protected override ICollection CreateColumns( 
       PagedDataSource dataSource,
       bool useDataSource
    )

    Parameters

    dataSource
    A System.Web.UI.WebControls.PagedDataSource that represents the data source.
    useDataSource
    true to use the data source specified by the dataSource parameter; otherwise, false.

    Return Value

    A System.Collections.ICollection that contains the fields used to build the control hierarchy.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also