diff --git a/L4/LD_24/Forma1.aspx.cs b/L4/LD_24/Forma1.aspx.cs index 898b3f7..68ec6fb 100644 --- a/L4/LD_24/Forma1.aspx.cs +++ b/L4/LD_24/Forma1.aspx.cs @@ -16,6 +16,7 @@ namespace LD_24 protected void Page_Load(object sender, EventArgs e) { + // Generate initial data files if they don't exist string[] actorFiles = { "Actors1.txt", "Actors2.txt", "Actors3.txt" }; foreach (string name in actorFiles) { @@ -26,6 +27,7 @@ namespace LD_24 } } + // Read actors from folder try { actors = InOutUtils.ReadActorsDir(Server.MapPath("App_Data"));