コード例 #1
0
 private void BindGridAttendance()
 {
     try
     {
         string OCODE = ((SessionUser)Session["SessionUser"]).OCode;
         List <HRM_MachineReadableProblem> aMachineReadableProblem = objAttendanceBll.GetAllMachineProblem(OCODE).ToList();
         if (aMachineReadableProblem.Count > 0)
         {
             gridviewMachineProblem.DataSource = aMachineReadableProblem;
             gridviewMachineProblem.DataBind();
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }