Ejemplo n.º 1
0
 public DataTable GetStartEndShift(string username)
 {
     try
     {
         ScheduleDAL objShift = new ScheduleDAL();
         DataTable   dt       = new DataTable();
         dt = objShift.ReadStartEndShift(username);
         foreach (DataRow dr in dt.Rows)
         {
             startShift = dr["StartShift"].ToString();
             endShift   = dr["EndShift"].ToString();
         }
         return(dt);
     }
     catch { throw; }
 }