title: How to change label font in code behind using c#
body: <p>I fetched the date into the text fields from db. Now in case of failure, I want to show a label ( inside a panel) font color to red. </p>
  
  <p>I tried like this : </p>
  
  <pre><code>if (success)
  {
      Panel_Message.Visible = false;                
  }
  else 
  {
      Panel_Message.Visible = true;
      Label_Fail.Visible = true;
  
      Label_Fail.Text = "Invalid Last Name and Employee Number";
  }
  </code></pre>