title: Make an image in a table cell into a link
body: <p>I have created an e-commerce website and am using a label to display the products from my sql database, the image it shows of these products are not hyperlinks, but this is what I need them to be, I think I have written the right code but I have a "parentControl" error, could someone help plz?</p>
  
  <p>Below is also a link to show you visually what is being asked. REMEMBER the picture is just an image, but needs to be a hyperlink!</p>
  
  <pre><code>           private void FillPage()
      {
          ArrayList teesList = new ArrayList();
  
          if (!IsPostBack)
          {
              teesList = ConnectionClass.GetTeesBySize("%");
          }
          else
          {
              teesList = ConnectionClass.GetTeesBySize(DropDownList1.SelectedValue);
          }
          StringBuilder sb = new StringBuilder();
  
          HyperLink link = new HyperLink();
          link.NavigateUrl = "http://google.com";
  
          parentControl.Controls.Add(link);
  
          foreach (Tees tees in teesList)
  
          {
              sb.Append(string.Format(@"&lt;table class='TeesTable'&gt;
                  &lt;tr&gt;
                      &lt;th rowspan='1' width='150px'&gt;&lt;img runat='server' src='{6}' /&lt;/th&gt;
                      &lt;th width='50px'&gt;Name: &lt;/th&gt;
                      &lt;td&gt;{0}&lt;/td&gt;
                  &lt;/tr&gt;
  
                  &lt;tr&gt;
                      &lt;th&gt;Size:&lt;/th&gt;
                      &lt;td&gt;{1}&lt;/td&gt;
                  &lt;/tr&gt;
  
                  &lt;tr&gt;
                      &lt;th&gt;Price:&lt;/th&gt;
                      &lt;td&gt;{2}&lt;/td&gt;
                  &lt;/tr&gt;
  
  
  
              &lt;/table&gt;",
                       tees.name, tees.size, tees.price, tees.id, tees.id, tees.id, tees.image));
              LblOutput.Text = sb.ToString();
  </code></pre>
  
  <p>(<a href="https://dl-web.dropbox.com/get/CompetitiveStreakTemplate/Pic.png?_subject_uid=9403629&amp;w=AAD63dzqPQcNMNSU0OwbVBrGjNGFvtt7VWJ6DKwlu4UoPw" rel="nofollow">https://dl-web.dropbox.com/get/CompetitiveStreakTemplate/Pic.png?_subject_uid=9403629&amp;w=AAD63dzqPQcNMNSU0OwbVBrGjNGFvtt7VWJ6DKwlu4UoPw</a>).</p>