|
@@ -84,7 +84,7 @@ namespace testkonkurs1
|
|
|
lvl_comfort[j] = Mesta["lvl_comfort"].ToString();
|
|
|
Mesta.Close();
|
|
|
}
|
|
|
- }
|
|
|
+
|
|
|
for (int j = 0; j < 20; j++)
|
|
|
{
|
|
|
if (lvl_comfort[j] != null)
|
|
@@ -99,7 +99,11 @@ namespace testkonkurs1
|
|
|
}
|
|
|
for (int j = 0; j < 20; j++)
|
|
|
{
|
|
|
- listBox1.Items.Add(nomer_comnat[j]+ " " + lvl_comfort[j] + " " + price[j]);
|
|
|
+ if (nomer_comnat[j] != 0)
|
|
|
+ {
|
|
|
+ listBox1.Items.Add(nomer_comnat[j] + " " + lvl_comfort[j] + " " + price[j]);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|