public string gettuiname(string id) { string str = ""; try { str = new Tea.BLL.users().GetModel(id).nick_name; } catch (Exception eee) { } return(str); }
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); }