//获取支付方式中文名称 public string GetRealTypeName1(object id) { if (id.ToString() == "") { return(""); } BLL.AccountsUsersBLL mpBll1 = new BLL.AccountsUsersBLL(); Model.AccountsUsers model = mpBll1.GetModel(id.ToString()); return(model.UserName); }
protected string GetUserName(string userid) { BLL.AccountsUsersBLL bll = new BLL.AccountsUsersBLL(); Model.AccountsUsers modelacc = bll.GetModel(userid); if (modelacc != null) { return(modelacc.UserName); } return(""); }
protected string GetUser(string userid) { BLL.AccountsUsersBLL bllcp = new BLL.AccountsUsersBLL(); return(bllcp.GetModel(userid).UserName); }
private string GetUserName(string id) { BLL.AccountsUsersBLL blluser = new BLL.AccountsUsersBLL(); return(blluser.GetModel(id).UserName); }