Click here to Skip to main content
16,011,358 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

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
 
Share this answer
 
Comments
sonecs 11-Dec-11 23:31pm    
Thank you for information , it is good , Now i would like to know how to highlight all Newly record( if i do not selected) when i select the record will be not highlight

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900