【转】怎样将DataGridView中绑定的表的列名改成中文

在DataGridView设置数据源绑定后,
设置DataGridView的属性HeaderText就可以了。
代码参考:
dataGridView.Columns[filedName].HeaderText = displayLabel

 

posted @ 2014-09-15 21:31  哥本哈根  阅读(2151)  评论(0编辑  收藏  举报