Hi
I have DataGrid with columns like Start Time, End Time, Time Used.
In the Time Used Column I want to show the Difference of Start Time and Current System Time, I have the code and it works fine also. But to update the time i have used Timer which expires every 1 minute. But i have few problems in displaying the Time Used in Data Grid Column.
I have tried two different methods, but both gave me same results.
1) I tried looping thorugh the grid and update the time used column,
2) I tried looping through the under lying recordset of DataGrid and update the Time Used Column.
But both these methods update only the row where the cursor is currently placed,
And as the code is written on Timer, the users can physically see the Record Pointer of Data Grid Dancing from UP TO DOWN.
How can i eliminate these things....
Anyhelp will be appreciated
Gazal
I have DataGrid with columns like Start Time, End Time, Time Used.
In the Time Used Column I want to show the Difference of Start Time and Current System Time, I have the code and it works fine also. But to update the time i have used Timer which expires every 1 minute. But i have few problems in displaying the Time Used in Data Grid Column.
I have tried two different methods, but both gave me same results.
1) I tried looping thorugh the grid and update the time used column,
2) I tried looping through the under lying recordset of DataGrid and update the Time Used Column.
But both these methods update only the row where the cursor is currently placed,
And as the code is written on Timer, the users can physically see the Record Pointer of Data Grid Dancing from UP TO DOWN.
How can i eliminate these things....
Anyhelp will be appreciated
Gazal