DataGridViewColumn DataGridViewAutoSizeColumnMode.Fill Width MinimumWidth
foreach (string name in zWidthNameList)
{
DataGridViewColumn dgvc = this.Columns[name];
dgvc.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
//当采用下面注释的代码时用时候会出错,但采用MinimumWidth就很正常
//dgvc.Width = int.Parse(zWidthIntList[i]);
dgvc.MinimumWidth = int.Parse(zWidthIntList[i]);
i++;
}