Version

AutoGenerateColumns Property (WebDataGrid)

Defines whether the grid generates columns automatically during the data binding process.
Syntax
'Declaration
 
Public Overridable Property AutoGenerateColumns As Boolean
public virtual bool AutoGenerateColumns {get; set;}
Remarks
The grid can automatically generate a column for every field in the data source. If the property is set to True the automatically created columns will be added to the ones set up in the aspx file. If the property is set to False the grid will use only the columns that set up in the aspx file.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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