Thanks for your reply.
I had gone through the blog.Actually my problem is just i am having checkboxes i.e not maintained in the database.
The best example which i need is given in this link(http://jsfiddle.net/jkTU4/109/
I have tried it out but it is not working in my local system. I need after selecting data in different pages I am having a save button and i have to save the data in the database for the rows which are checked.
The check box is used only for selection but not saving data.
I need to save the selection in the grid. Please help me