Ejemplo n.º 1
0
        protected string getTCString(string TC)
        {
            string TCString = "";
            string s;

            string[] str = TC.Trim().Split(new string[] { ";" }, StringSplitOptions.None);
            for (int i = 0; i < str.Length - 1; i++)
            {
                try
                {
                    TCString = TCString + TermsAndConditionsDB.getTCDetailsNew(Convert.ToInt32(str[i]));
                }
                catch (Exception ex)
                {
                }
            }
            return(TCString);
        }
Ejemplo n.º 2
0
        protected string getTCString(string TC)
        {
            string TCString = "";
            string s;

            string[] str = TC.Trim().Split(new string[] { ";" }, StringSplitOptions.None);
            for (int i = 0; i < str.Length - 1; i++)
            {
                try
                {
                    TCString = TCString + TermsAndConditionsDB.getTCDetailsNew(Convert.ToInt32(str[i]));
                }
                catch (Exception ex)
                {
                    MessageBox.Show(this.ToString() + "-" + System.Reflection.MethodBase.GetCurrentMethod().Name + "() : Error-" + ex.ToString());
                }
            }
            return(TCString);
        }
Ejemplo n.º 3
0
        protected string getTCString(string TC, string documentID)
        {
            string TCString = "";
            string s;

            string[] str = TC.Trim().Split(new string[] { ";" }, StringSplitOptions.None);
            for (int i = 0; i < str.Length - 1; i++)
            {
                try
                {
                    TCString = TCString + TermsAndConditionsDB.getTCDetailsNew(Convert.ToInt32(str[i]), documentID);
                }
                catch (Exception ex)
                {
                    MessageBox.Show("Failed to Save 6 : " + ex.ToString());
                }
            }
            return(TCString);
        }