Ejemplo n.º 1
0
 public DataSet.DsPSMS.ST_TIMETABLE_HEDDataTable isExistTimeHed(DataSet.DsPSMS.ST_TIMETABLE_HEDRow dr)
 {
     if (dr == null)
     {
         return(null);
     }
     try
     {
         timedb.Open();
         DataSet.DsPSMS.ST_TIMETABLE_HEDDataTable dt = timedb.isExitTimeHedData(dr);
         if (dt != null && (dt.Rows.Count > 0))
         {
             return(dt);
         }
         else
         {
             return(null);
         }
     }
     catch
     {
         return(null);
     }
     finally
     {
         timedb.Close();
     }
 }