this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
this.dataGrid1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dataGrid1.BackColor = System.Drawing.Color.WhiteSmoke;
解决方案 »
- 怎么取得指定控件为空为空值的控件ID
- 请问怎样用C# 获取本机本地连接状态?
- 谁能介绍几本C#入门的比较好的书 本人刚刚入门 谢谢啦!
- C#中调用Windows API时出现的一个问题
- visual C# 做win程序时怎样让窗体启动时在屏幕指定的位置??
- 如何在Web Form中實現類似Windows Form中TabControl控件的功能?
- 这是什么机制?成功了马上给分!!!!急!!!!在线等
- 有没有更快速的方法计算?
- C#应用软件打不开
- 我这里怎么没有SQLConnection 和SQLDataSetCommand对象?
- asp.net网站如何对一组控件赋值(VB语句)
- 如何把datagridview中显示出来的数据绑定到crystalReportViewer???
{
if (e.RowIndex == -1)
return;
DataGridViewRow dgr = dataGridView1.Rows[e.RowIndex];
if (dgr.Cells[""].Value.ToString() == "" )
{
e.CellStyle.BackColor = Color.Red;
}
}