Exemple #1
0
        private static int getIntOutOfStringList(List <String> stringList, ADM_SUMMARY_FIELDS summaryField)
        {
            try

            {
                return(Convert.ToInt32(stringList[(int)summaryField]));
            }

            catch (Exception ex)
            {
            }

            return(0);
        }
Exemple #2
0
        private int getIntOutOfStringList(List <String> stringList, ADM_SUMMARY_FIELDS summaryField)
        {
#if DEBUG
            try
#endif
            {
                return(Convert.ToInt32(stringList[(int)summaryField]));
            }
#if DEBUG
            catch (Exception ex)
            {
                TSErrorCatch.errorCatchOut(Convert.ToString(this), ex);
            }
#endif
            return(0);
        }