'宣言
Public Property AutoGenerateColumns As System.Boolean
public System.bool AutoGenerateColumns {get; set;}
解説
By default, assigning a new DataSource to the grid resets the column collection to reflect the data source schema. If you set AutoGenerateColumns to false, the existing column layout will be preserved.