Hi,
I am trying to use caching in my application. I am using a caching class library for this.
In the windows form application, I have a dataset which if filled with employees data and set as a datasource of a grid. This dataset is then added in cache.
While adding an item to cache, we can provide the name of the callback method that will be called when item in the grid expires. On expiration cache will invoke this callback method and fetch the data again in the dataset. If the data has changed during that period then it should be reflected in the grid.
Now my problem is...
callback method is invoked, changed data is fetched into dataset but the changes are not reflected into the grid. Also, if change is of type add new row / delete row then this is NOT reflected. but if the change is of editig of column values in the existing rows, then the changed data is shown in the grid.
What could be the problem ?
Thanks in advance.
Aditi
I am trying to use caching in my application. I am using a caching class library for this.
In the windows form application, I have a dataset which if filled with employees data and set as a datasource of a grid. This dataset is then added in cache.
While adding an item to cache, we can provide the name of the callback method that will be called when item in the grid expires. On expiration cache will invoke this callback method and fetch the data again in the dataset. If the data has changed during that period then it should be reflected in the grid.
Now my problem is...
callback method is invoked, changed data is fetched into dataset but the changes are not reflected into the grid. Also, if change is of type add new row / delete row then this is NOT reflected. but if the change is of editig of column values in the existing rows, then the changed data is shown in the grid.
What could be the problem ?
Thanks in advance.
Aditi