protected void SearchButton3_Click(object sender, EventArgs e) { PlayerPlayedInCountry ppic = new PlayerPlayedInCountry(ddlTeams5.SelectedValue); playersPlayedInCountryHTML.Text = ppic.getThePlayers(); //resultsBelow2.Text = "Αποτελέσματα παρακάτω"; }
protected void SearchButton3_Click(object sender, EventArgs e) { if (SearchButton3.Text.Equals("Search")) { SearchButton3.Text = "Hide"; PlayerPlayedInCountry ppic = new PlayerPlayedInCountry(ddlTeams5.SelectedValue); playersPlayedInCountryHTML.Text = ppic.getThePlayers(); } else { SearchButton3.Text = "Search"; playersPlayedInCountryHTML.Text = ""; } //resultsBelow2.Text = "Αποτελέσματα παρακάτω"; }