2 Commits 0506d0dd62 ... d16c9c5998

Author SHA1 Message Date
  chernyshyov.2000 d16c9c5998 Сравнение 2х промежутков дат, задача пройтись по всем таблицам 4 years ago
  chernyshyov.2000 c22d13eaa3 asd 4 years ago
1 changed files with 3 additions and 5 deletions
  1. 3 5
      testkonkurs1/Form3.cs

+ 3 - 5
testkonkurs1/Form3.cs

@@ -44,12 +44,10 @@ namespace testkonkurs1
                     DateTime date_2_end = date_2_start.AddDays(Convert.ToInt16(Reader["kol_days"]));
                     // bool intersect = !(date_2_end < date_1start || date_2_start > date_1end);
                     bool intersect = date_2_end >= date_1start && date_2_start <= date_1end;
-                    if (!intersect) { 
+                    if (!intersect) {
 
-
-                    listBox1.Items.Add(Reader["nomer_cvitancii"] + " " + Reader["nomer_mesta"]);
-
-                    }                       s
+           
+                    } 
                     }