更改Datagrid中特殊行的颜色 [英] changing the color of special rows in Datagrid

查看:137
本文介绍了更改Datagrid中特殊行的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我的数据库中有日期记录.当我想在datagridview中显示记录时,我想更改某些行的颜色,使它们的日期记录与当前日期相同.

非常感谢.

解决方案

使用Google: http ://msdn.microsoft.com/zh-CN/library/1yef90x0.aspx [ ^ ]


hi i have date record in my database.when i want to show the records in datagridview, i want to change the color of some rows that the date record of them is as the same as current date.how can i do that?

thanks alot .

解决方案

use Google: http://msdn.microsoft.com/en-us/library/1yef90x0.aspx[^]


这篇关于更改Datagrid中特殊行的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆