DataGridView problems

So I use the VS2005 designer to lay out my columns for the DataGridView and all looks well in the designer. When the form loads I'm trying to fill the DataGridView and as far as I can tell (AFAICT?Smile) I can either use a datasource or just try to work with the actual cells. The first method seems more natural so I'm trying to take that route (this is in the form.Load event handler):


DataTable dt =new DataTable();
dt.Columns.Add(new DataColumn("option1",typeof(bool)));
dt.Columns.Add(new DataColumn("option2",typeof(bool)));
dt.Columns.Add(new DataColumn("TableName",typeof(string)));
DataRow dr;
foreach (TableSchema tsin creator.DBSchema.TableSchemas)
{
dr = dt.NewRow();
dr["option1"] =false;
dr["option2"] =false;
dr["TableName"] = ts.TableName;
dt.Rows.Add(dr);
}
this.dataGridView1.DataSource = dt;


I should mention that I've already set the DataPropertyName for each column to their corresponding string values in the designer.

I run the program and when the form loads the DataGridView decides to disregard the columns I've designed and it implements it's own hideous column layouts when I assign it a DataSource. I've read the docs and sifted through the seemingly ludicrous number of "Auto" settings for the DataGridView and it's columns, but I can't figure out why this behavior is occuring.

[2062 byte] By [Keyser] at [2007-12-16]