title: How to assign value to label in mvc either from model or viewdata
body: <p>How to assign value to mvc label. If i have value in model then set item.leadowner but if it's empty then assign the viewdata value. This is my label. Here i assigned the value in viewdata and model value but it's in separate label. I need to use in one label for both value.</p>
  
  <pre><code>@Html.Label("lblLeadOwner", Convert.ToString(ViewData["lblLeadOwner"]), new { id = "lblleadowner" })
  @Html.Label("lblLeadOwner", item.LeadOwner, new { id = "lblleadowner" })
  </code></pre>