Beispiel #1
0
        public string get_standrad(string strandrad)
        {
            string[] strandrads   = strandrad.Split(',');
            string   str_standard = "";

            BLL.standard_value blls = new standard_value();
            BLL.standard       bll1 = new standard();

            for (int i = 0; i < strandrads.Length; i++)
            {
                if (!string.IsNullOrEmpty(strandrads[i]))
                {
                    Model.standard_value model = blls.GetModel(Convert.ToInt32(strandrads[i].Split(':')[1]));



                    str_standard += strandrads[i].Split(':')[0] + ":" + model.value + ",";
                }
                else
                {
                    return("");
                }
            }
            return(str_standard);
        }
Beispiel #2
0
        public string get_standrad(string strandrad)
        {
            string[] strandrads = strandrad.Split(',');
            string str_standard = "";
            BLL.standard_value blls = new standard_value();
            BLL.standard bll1 = new standard();

            for (int i = 0; i < strandrads.Length; i++)
            {
                if (!string.IsNullOrEmpty(strandrads[i]))
                {
                    Model.standard_value model = blls.GetModel(Convert.ToInt32(strandrads[i].Split(':')[1]));

                    str_standard += strandrads[i].Split(':')[0] + ":" + model.value + ",";

                }
                else
                {
                    return "";
                }
            }
            return str_standard;
        }