不要自动生成列

//不要自动生成列
// this.dataGridView1.AutoGenerateColumns = false;

原文地址:https://www.cnblogs.com/wangjinya/p/10017815.html