To bind grid in mvc but append only new data at grid bind.

Topics: ASP.NET MVC
Dec 16, 2013 at 5:28 AM
Hello,
I have started recently to work on MVC.
I have a task for chat(question - answer) window, i have used a webgrid and binding it at HttpGet Action also refreshing it with in 5 sec time period. its done. But.
My issue is that how to append only those chat queries which are not answered. but every time at grid bind it hits the DB and bind all records.
I want to bind the new records to grid only not all records at every hit.
I am using mvc 4 (razor).

Any one can help?.. please post ..
Thanks.

Dharmendra