Users Pricing

forum

Home Forums Paging Event of GridView With Caching Object – MindStick

Paging Event of GridView With Caching Object

Samuel Fernandes 1978 25 Aug 2014

I displaying the Gridview data form cache object.When i click on the pagenumber it shows blank webpage. how to handle the paging with caching object .

Do i need to check the same condition in paging event

 DataTable GetByCahe =(DataTable) Cache["DataStore"];
            if (GetByCahe != null)
            {
                ManageRegGrid.DataSource = GetByCahe;
                ManageRegGrid.DataBind();
            }
            else
            load From the database

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md