title: Apply c# dictionary output to html table
body: <p>I have a dictionary with string and int and I would like to parse the dictionary string and ints to a html table if that is possible?</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
      {
  
          Dictionary&lt;string, int&gt; userMediaList = new Dictionary&lt;string, int&gt;();
          userMediaList.Add("Die Hard", 5);
          userMediaList.Add("Die Hard II", 3);
          userMediaList.Add("Die Hard III", 2);
          userMediaList.Add("Ringenes Herre", 4);
          userMediaList.Add("Ringenes Herre II", 1);
          userMediaList.Add("Ringenes Herre III", 5);
  
          var sortUserMediaList = from entry in userMediaList orderby entry.Value ascending select entry;
  
      }
  </code></pre>
  
  <p>So what i want is adding this to a table on the website.</p>
  
  <p>So that for every box in the table, the name of the movie and the rating of the movie will appear.</p>