المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to change datagridview cell value color if datatable current value is changed



C# Programming
08-19-2009, 04:01 PM
Hello!
I am using windows application and I have a datagridview which is i am filling from some datatable and after every 15 second i am fetching data from sql database table and filiing datatable again and then binding that datatable with the same datagridview. for *******ing datagriedview in every 15 second i have used timer control now i want to check if datagridview column call "premium" is less than the value in the newly filled datatable then i want to change that column's cell value to blue b'coz current value is greater than the previous value.
can anyone give me the solution for this....plz send me sample code

thanx in advance