Exemple #1
0
 private void Bind()
 {
     if (!string.IsNullOrEmpty(nId))
     {
         if (bll == null)
         {
             bll = new BLL.UserPoint();
         }
         Model.UserPoint model = bll.GetModel(nId);
         if (model != null)
         {
             cbbUser.Value  = model.UserID.ToString();
             txtPoint.Value = model.PointNum.ToString();
         }
     }
 }