GetCacheManager method of CacheFactory will retrieve the data from the Cached pool of data.
CacheManager cm = CacheFactory.GetCacheManager("Cache Manager");
DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("Students.xml"));
cm.Add("CachedDataSet", ds.Tables[0]);
DataTable dt = (DataTable)cm.GetData("CachedDataSet");
foreach (DataRow row in dt.Rows)
{
Response.Write(row[0].ToString());
}
Place the following line between
Following code goes between