protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (uid != 0) { Weifenxiao.Entity.wx_UsersEntity model = Weifenxiao.BLL.wx_UsersBLL.GetInstance().GetAdminSingle(uid); if (model.ParentId == 0) { lbUperID.Text = "无"; lbUperName.Text = "无"; } else { Weifenxiao.Entity.wx_UsersEntity pmodel = Weifenxiao.BLL.wx_UsersBLL.GetInstance().GetAdminSingle(uid); lbUperID.Text = pmodel.UserId.ToString(); lbUperName.Text = pmodel.RealName; } } } }