dataGridView取消自动生成列

dataGridView1.AutoGenerateColumns   =   false; 
原文地址:https://www.cnblogs.com/ylwn817/p/2220504.html