As a newbie I have tried several Google searches and have found a few confusing answers. What I am trying to achieve is:
click on a button (one of many),
extract that button's text value, then
use that value to make the relevant placeholder visible.
So far I have done the first 2 steps but how do I accomplish step 3? My code so far, which works if I click on the Asia
button, is:
protected void btnArea_Click(object sender, EventArgs e)
{
string ar = (sender as Button).Text;
//ar = "Asia";
phdasia.Visible = true;
}
In simple, newbie friendly terms, what do I have to insert in place of phdasia
?