protected void SearchButton2_Click(object sender, EventArgs e) { PlayerComingFromCountry pcfc = new PlayerComingFromCountry(ddlTeams4.SelectedValue); playersComingFromCountryHTML.Text = pcfc.getThePlayers(); //resultsBelow2.Text = "Αποτελέσματα παρακάτω"; }
protected void SearchButton2_Click(object sender, EventArgs e) { if (SearchButton2.Text.Equals("Search")) { SearchButton2.Text = "Hide"; PlayerComingFromCountry pcfc = new PlayerComingFromCountry(ddlTeams4.SelectedValue); playersComingFromCountryHTML.Text = pcfc.getThePlayers(); } else { SearchButton2.Text = "Search"; playersComingFromCountryHTML.Text = ""; } //resultsBelow2.Text = "Αποτελέσματα παρακάτω"; }