title: Append text to label in ASP.NET/C#?
body: <p>Lets say I have a form where the user enters some data and then click Submit. I have some validation to check length of fields in the code behind and if they forgot the name I set the text in a label:</p>
  
  <pre><code>        if (siteName.Length == 0)
          {
              lblErrorCreateSite.Text = "A Site Name is required.&lt;br/&gt;";
          }
  </code></pre>
  
  <p>If I also have a field called description and this is also empty can I append an error message to lblErrorCreateSite or do I have to create another label?</p>
  
  <pre><code>        if (siteDescription.Length == 0)
          {
              lblErrorCreateSite. // if both name and description is missing add some additional text to the label
          }
  </code></pre>
  
  <p>I'm just checking to see if there's an easier way than to have a lot of if statements (if this AND that...)</p>
  
  <p>Thanks in advance.</p>
  
  <p>Edit:
  I just realized I can do</p>
  
  <pre><code>        if (siteName.Length == 0)
          {
              lblErrorCreateSite.Text = "A Site Name is required.&lt;br/&gt;";
          }
          if (siteDescription.Length == 0)
          {
              lblErrorCreateSite.Text = lblErrorCreateSite.Text + "A description is required.";
          }
  </code></pre>
  
  <p>?</p>