private void LoadCurrentDetails()
        {
            var email       = Session[CommonManager.GetCustEmailSessionName()].ToString();
            var custDetails = custMgr.GetCustomerDetails(CustomerGetType.email, 0, aesMgr.EncryptToString(email));

            if (custDetails != null)
            {
                var customer = custDetails.First();
                txtName.InnerText   = customer.name;
                txtEmail.InnerText  = email;
                txAddress.InnerHtml = customer.addressLine1 + ",<br/>" + customer.addressLine2 + ",<br/>" + customer.city;
            }
        }
 void LoadCurrentDetails()
 {
     try
     {
         var email       = Session[CommonManager.GetCustEmailSessionName()].ToString();
         var custDetails = custMgr.GetCustomerDetails(CustomerGetType.email, 0, aesMgr.EncryptToString(email));
         if (custDetails != null)
         {
             var customer = custDetails.First();
             dfName.Value      = customer.name;
             dfAddLine1.Value  = customer.addressLine1;
             dfAddLine2.Value  = customer.addressLine2;
             cmbCity.Value     = customer.city;
             dfTelephone.Value = customer.telephoneNo;
         }
     }
     catch (Exception ex)
     {
         regErrMsg.InnerText = ex.Message;
         regErrorBox.Visible = true;
     }
 }