摘要: 当程序动态为DataGridView添加一列时如果这样写:DataGridViewColumn col = new DataGridViewColumn ();col.Name = "colname";col.HeaderText = "列标题";Dgv.Columns.Add(col);肯定会提示“DataGridView 控件中至少有一列没有单元格模板”的错误。怎么办呢... 阅读全文
posted @ 2009-05-22 11:29 phcis 阅读(8652) 评论(1) 推荐(1) 编辑