private void button4_Click(object sender, EventArgs e) { TournamentScraper ts = new TournamentScraper(); ts.InitialEntrantsAddToDB(); ts.closeDriver(); }
private void btnGetTournamentList_Click(object sender, EventArgs e) { TournamentScraper ts = new TournamentScraper(); listDS = ts.getListOfTournaments(); comboBox1.DataSource = listDS; comboBox1.DisplayMember = "TournamentName"; comboBox1.Refresh(); ts.closeDriver(); }
private void btnScrapeTournament_Click(object sender, EventArgs e) { TournamentScraper ts = new TournamentScraper(); ts.setTournamentURL((string)((DataRowView)comboBox1.SelectedItem).Row["TournamentLink"]); resultsGridView.DataSource = ts.getTournamentResults(); resultsGridView.Refresh(); ts.closeDriver(); }