设置文本内容较长列(假如为column1)的属性:this.column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;