title: how to display label in a view value coming from view
body: <p>I have got one label in view that i need to display value in that label and i have assigned value to that label in controller ..</p>
  
  <p>and this is model</p>
  
  <pre><code> namespace MvcSampleApplication.Models
   {    
       public class labelsdisplay
       {
          public string labelvalue { get; set; }    
       }
   }
  </code></pre>
  
  <p>and this is my controller</p>
  
  <pre><code>namespace MvcSampleApplication.Controllers
  {
      public class LbelDisplayController : Controller
      {               
          public ActionResult Index()
          {
              labelsdisplay lbldisx = new labelsdisplay();
              string name = "ABC";
              lbldisx.labelvalue = name;       
              return View(lbldisx);
          }    
      }
  }
  </code></pre>
  
  <p>and this the view (strongly typed view)</p>
  
  <pre><code> @model MvcSampleApplication.Models.labelsdisplay
  @{
      ViewBag.Title = "Index";
  }    
  &lt;h2&gt;Index&lt;/h2&gt;
  @using (@Html.BeginForm())
  {     
      @Html.LabelFor(m=&gt;m.labelvalue)    
  }
  </code></pre>
  
  <p>my problem is  not able to display value("ABC") instead of that it displaying "labelvalue"  in that label in view...
  would any one pls suggest any solutions ...on this....</p>
  
  <p>Many thanks..</p>