Ejemplo n.º 1
0
        protected string GetRole(string structid)
        {
            string[]  str   = structid.Split(new Char[] { ',' });
            string    strs  = "";
            B_Role    brole = new B_Role();
            DataTable dt    = new DataTable();

            for (int i = 0; i < str.Length; i++)
            {
                dt = brole.Sel(DataConverter.CLng(str[i]));
                if (dt.Rows.Count > 0)
                {
                    strs += dt.Rows[0]["RoleName"] + " ";
                }
            }
            return(strs);
        }