标签:
1 BoundField bfColumn1 = new BoundField(); 2 bfColumn1.DataField = "zbcompanyname"; 3 bfColumn1.HeaderText = "中标供应商"; 4 this.GridView1.Columns.Add(bfColumn1);
.NET 后台动态添加GridView列
原文地址:http://www.cnblogs.com/dujinyang/p/4877590.html