Esempio n. 1
0
        public string gettuiname(string id)
        {
            string str = "";

            try
            {
                str = new Tea.BLL.users().GetModel(id).nick_name;
            }
            catch (Exception eee) { }
            return(str);
        }
Esempio n. 2
0
        public string get_name(string id)
        {
            string str = "";

            try
            {
                Tea.Model.users user = new Tea.BLL.users().GetModel(int.Parse(id));
                str = user.nick_name;
            }
            catch (Exception eee) { }

            return(str);
        }