gridView1.OptionsView.ColumnAutoWidth = false;

for (int I = 0; I < gridView1.Columns.Count; I++)
{
this.gridView1.BestFitColumns();
this.gridView1.Columns[I].BestFit();//自动列宽
}