public DataTable GetEndDateWithJobCode(string code) { try { TimesheetDAL endDateObj = new TimesheetDAL(); DataTable dt = new DataTable(); dt = endDateObj.SearchByCode(code); foreach (DataRow dr in dt.Rows) { endDateObj.endDate = dr["EndDate"].ToString(); } return(dt); } catch { throw; } }
/// <summary> /// constructor /// </summary> public TimesheetBLL() { m_timeSheetDAL = new TimesheetDAL(); }