标签:
gridView1.OptionsView.ColumnAutoWidth = false; for (int I = 0; I < gridView1.Columns.Count; I++) { this.gridView1.BestFitColumns(); this.gridView1.Columns[I].BestFit();//自动列宽 }
gridView自动列宽代码
原文地址:http://www.cnblogs.com/zeroone/p/4870045.html