DataGridView手动新增列

DataGridViewTextBoxColumn dc = new DataGridViewTextBoxColumn();
dc.HeaderText = "新增列";
dataGridView1.Columns.Add(dc);

 

posted @ 2012-03-24 15:48  ghypnus  阅读(317)  评论(0编辑  收藏  举报