I create a DataTable and bind it to a DataGrid. My DataSource consist of one Table (FooTable) which consist of one column (FooName).
The following codes runs fine - exce
try setting AutoGenerateColumns to false
dg1.AutoGenerateColumns = false