private static string DisplayDataType(Entities.Profile.ProfilePropertyDefinition definition)
        {
            string CacheKey    = string.Format("DisplayDataType:{0}", definition.DataType);
            string strDataType = Convert.ToString(DataCache.GetCache(CacheKey)) + "";

            if (strDataType == string.Empty)
            {
                Common.Lists.ListController objListController = new Common.Lists.ListController();
                strDataType = objListController.GetListEntryInfo(definition.DataType).Value;
                DataCache.SetCache(CacheKey, strDataType);
            }
            return(strDataType);
        }
 private static string DisplayDataType(Entities.Profile.ProfilePropertyDefinition definition)
 {
     string CacheKey = string.Format("DisplayDataType:{0}", definition.DataType);
     string strDataType = Convert.ToString(DataCache.GetCache(CacheKey)) + "";
     if (strDataType == string.Empty)
     {
         Common.Lists.ListController objListController = new Common.Lists.ListController();
         strDataType = objListController.GetListEntryInfo(definition.DataType).Value;
         DataCache.SetCache(CacheKey, strDataType);
     }
     return strDataType;
 }