示例#1
0
        public static void GetClassSubAll(int proclassid, ref string str)
        {
            List <ProClassModel> list = EispProClassBLL.GetProClassList(proclassid);

            // string cid=string.Empty;
            foreach (ProClassModel proclass in list)
            {
                str += proclass.ID.ToString() + ",";
                GetClassSubAll(proclass.ID, ref str);
            }
            //str += proclassid;
        }
示例#2
0
        public static void GetClassSubAllByLang(int lang, ref string str)
        {
            List <ProClassModel> list = EispProClassBLL.GetProClassListByLang(lang, 0);

            // string cid=string.Empty;

            foreach (ProClassModel proclass in list)
            {
                str += proclass.ID.ToString() + ",";
                GetClassSubAll(proclass.ID, ref str);
            }
            str += "0";
        }