コード例 #1
0
        private int SetPendingListThrough()
        {
            MasterLCBLL masterBLL   = new MasterLCBLL();
            string      UserEmpId   = ((SessionUser)Session["SessionUser"]).EID;
            var         PandingList = masterBLL.GetApprovallistByEid(UserEmpId);

            return(PandingList.Count());
        }
コード例 #2
0
 public void GetPandingList()
 {
     try
     {
         string UserEmpId   = ((SessionUser)Session["SessionUser"]).EID;
         var    PandingList = masterBLL.GetApprovallistByEid(UserEmpId);
         if (PandingList.Count() != 0)
         {
             gridviewPanding.DataSource = PandingList;
             gridviewPanding.DataBind();
         }
     }
     catch (Exception)
     {
         throw;
     }
 }