如何自动突出显示datagridview上的所有新记录 [英] how to auto highlight all new record on datagridview

查看:85
本文介绍了如何自动突出显示datagridview上的所有新记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我刚刚开始在vb.net中创建有关DataGriview的示例

放置新记录时,我发现了有关活动记录的一些问题
我想自动突出显示所有我未单击(选中)的新记录

那你能帮我怎么办?

请告诉我

感谢

hi all

i just begin create sample about DataGriview in vb.net

i found some problem about active record when i put the new record
i would like to auto highlight all new record that i do not click (selected)

so could you help me How do i do?

please tell me

thank

推荐答案

First 链接将为您提供how to create click/hit count,而Second 链接将为您提供how to color rows的特定条件.例如,您有一张桌子属性保存点击次数,因此在数据绑定期间,您可以检查该字段值并根据需要分配颜色.

如何创建匹配使用C#在ASP.NET 1.x中使用数据库进行计数器

在Windows窗体DataGridView控件中自定义数据格式
First link will guide you how to create click/hit count and Second link will guide you how to color rows for a particular condition.For example you have a table attribute that holds your click count, so during your data bind you can check that filed value and assign your color according to your requirement.

Howto Create a Hit Counter Using a Database in ASP.NET 1.x with C#

Customize Data Formatting in the Windows Forms DataGridView Control


这篇关于如何自动突出显示datagridview上的所有新记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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