title: ASP.NET web form pass list to view page and display with html controls
body: <p>I am new in asp.net. I am trying to a static list pass into my view page.</p>
  
  <p>Following code I have written on my _Default class:</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      List&lt;String&gt; itemlist = new List&lt;string&gt;();
      itemlist.Add("Drink water");
      itemlist.Add("Sleep more");
      itemlist.Add("Drink tea");
      itemlist.Add("Drink water");
      itemlist.Add("Exercise more");
      itemlist.Add("Eat healthier");
      itemlist.Add("Smile");
      itemlist.Add("Do Yoga");
  }
  </code></pre>
  
  <p>Now I am trying to pass above list into my Default.aspx page but I am not sure how to do that.</p>
  
  <p>Please let me know how I can pass and display above list into my Default.aspx with HTML controls.  </p>