请问如何在C# winform里面修改DataGrid某一行的背景色? 请问如何在C# winform里面修改DataGrid某一行的背景色? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在事件dataGrid1_Paint中设置某行某列的颜色 DataGridViewCellStyle style=new DataGridViewCellStyle (); style.BackColor = Color.Red ; //然后取行号 dataGridView1.Rows[2].DefaultCellStyle = style;dataGridView1.Rows[2]这里修改要变色的行号! C#高手求救啊.....怎么取到这个空格 非sql去除重复源代码 怎样在DataGrid列的删除按钮上加一个确认对话框 为什么没有得到我想要的结果--get{} set{} 问一个Treeviwe的小问题。 这样的电脑能不能运行vs.net? 如何取消线程池队列里的线程? C# listview控件如何显示text文件中的内容 怎样做简繁体转换的程序? 如何实现点击listview控件的某一个列头就按该列排序? 关于下载问题 CodeSmith 如何连接 Access 数据库请各位高手帮忙
style.BackColor = Color.Red ; //然后取行号
dataGridView1.Rows[2].DefaultCellStyle = style;
dataGridView1.Rows[2]这里修改要变色的行号!