protected void Page_Load(object sender, EventArgs e) { parser = new CuescoreParser(); if (Request.Url.Segments.Count() >= 3) { LeagueID = Request.Url.Segments[2]; leagueDocument = parser.GetLeagueDocument(LeagueID); } }
protected void Page_Load(object sender, EventArgs e) { parser = new CuescoreParser(); if (Request.Url.Segments.Count() >= 4) { LeagueID = Request.Url.Segments[2]; TeamName = Request.Url.Segments[3]; leagueDocument = parser.GetLeagueDocument(LeagueID); Appointments = parser.GetTeamAppointments(leagueDocument, UrlDecode(TeamName)); } }
protected void Page_Load(object sender, EventArgs e) { parser = new CuescoreParser(); }