 悬赏园豆:10
                [已关闭问题] 
            
                    关闭于 2020-06-25 09:50
                悬赏园豆:10
                [已关闭问题] 
            
                    关闭于 2020-06-25 09:50
                 
        也就是没法设置列头颜色。
this.dataGridView1.EnableHeadersVisualStyles = false;
this.dataGridView1.ColumnHeadersDefaultCellStyle.BackColor = Color.Red;
两行代码不起效果。难道要用第三方GridView来解决吗?