I've been struggling with this issue and I am sure there is a solution out there.
Basically I am trying to cache locally all the data that is sent to all TextBox(es) bound to a GridView.
I have a Timer and a GridView which pulls the data from one SQL table every X seconds.
This table has 2 fields: id (uniqueidentifier) and comments (varchar(max)) and the data changes every rapidly.
On every page refresh the whole GridView content is replaced with whatever data is in the table.
So that gives me a few scenarios I can think of....for instance:
ID=23FF803F-3AF0-45CA-B536-096A8E410BCD; Comments="Step 1"
ID=23FF803F-3AF0-45CA-B536-096A8E410BCD; Comments="Step 2"
Goal: I'd like to keep the previous value so that Comments="Step 1, Step 2" and so on.
Bear in mind that on a subsequent request that same ID might not exist anymore and the cached info for that ID should also be gone.
Another idea would be to have a 3rd control (i.e,Label) which would hold all the previous values. That way, the user could see the latest values in the TextBox but all the cached previous
View Complete Post