Exemple #1
0
        private void GetDummyPanBasedOnCriteria()
        {
            DataTable dtDummyPan = new DataTable();

            try{
                dtDummyPan            = customerBo.GetDummyPanCustomer(hdnPan.Value, hdnDOB.Value, hdnEMAIL.Value, hdnMoblile.Value, adviserVo.advisorId);
                gvCustomer.DataSource = dtDummyPan;
                gvCustomer.DataBind();
                if (Cache["GvCustomer" + adviserVo.advisorId] != null)
                {
                    Cache.Remove("GvCustomer" + adviserVo.advisorId);
                }
                Cache.Insert("GvCustomer" + adviserVo.advisorId, dtDummyPan);
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
        }