In your master page you can have a property to set or get the value of the Label
Public string LabelText
{
get{return myLabel.Text;}
set{MyLabel.Text=value;}
}
In you aspx page set the value of the label after the button is clicked.
Page.Master.LabelText=XXXXXX
if this is helpful mark the post as answered.