protected void RenderLocalResources() { localresources = MainClient.GetLocalResources(); repLocalResources.DataSource = localresources; repLocalResources.DataBind(); missionGoals = MainClient.GetMissionGoals(); if (missionGoals.Count == 0) { MissionGoal mg = new MissionGoal(Construction.Farm); mg.ImageSrc = "Images/winscreen.jpg"; missionGoals.Add(mg); } repMission.DataSource = missionGoals; repMission.DataBind(); }