protected void BindOrderTransactionBook(int customerId, int amcCode, int schemeCode, string OrderType, int exchangeType) { DataSet ds = OnlineMFOrderBo.GetCustomerOrderBookTransaction(customerId, amcCode, schemeCode, OrderType, exchangeType); DataTable dtOrderTransactionBook = ds.Tables[0]; if (dtOrderTransactionBook.Rows.Count >= 0) { if (Cache[userVo.UserId.ToString() + "OrderTransactionBook"] != null) { Cache.Remove("OrderTransactionBook" + userVo.UserId.ToString()); } Cache.Insert("OrderTransactionBook" + userVo.UserId.ToString(), dtOrderTransactionBook); var page = 0; gvOrderBook.CurrentPageIndex = page; gvOrderBook.DataSource = ds.Tables[0]; gvOrderBook.DataBind(); Div1.Visible = true; btnExport.Visible = true; } }