Merge branch 'main' of https://github.com/RokasPuzonas/OOP-Labs-2
This commit is contained in:
commit
de29b0c64f
@ -19,6 +19,7 @@ namespace LD_24
|
|||||||
|
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
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" };
|
string[] actorFiles = { "Actors1.txt", "Actors2.txt", "Actors3.txt" };
|
||||||
foreach (string name in actorFiles)
|
foreach (string name in actorFiles)
|
||||||
{
|
{
|
||||||
@ -29,6 +30,7 @@ namespace LD_24
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Read actors from folder
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
actors = InOutUtils.ReadActorsDir(Server.MapPath("App_Data"));
|
actors = InOutUtils.ReadActorsDir(Server.MapPath("App_Data"));
|
||||||
|
Loading…
Reference in New Issue
Block a user