AutoGenerateColumns Property (IDataSourceSupport)
In This Topic
Gets or sets whether to generate the columns automatically based on the data source.
Syntax
'Declaration
Property AutoGenerateColumns As Boolean
'Usage
Dim instance As IDataSourceSupport
Dim value As Boolean
instance.AutoGenerateColumns = value
value = instance.AutoGenerateColumns
bool AutoGenerateColumns {get; set;}
Property Value
true to automatically generate the columns;
false otherwise
Example
This example binds the model to a data set.
See Also