C# 禁止datagridview 自动产生列

dataGridView1.AutoGenerateColumns = false; 

原文地址:https://www.cnblogs.com/hailexuexi/p/5290893.html