title: how do you set the innerhtml on a generic control (div) in c# code behind?
body: <p>I am trying to add control (div) dynamically to a web page:</p>
  
  <pre><code> HtmlControl divControl = new html HtmlGenericControl("div");
   divControl.Attributes.Add("id", lb.Items[i].Value);
   divControl.Attributes.Add("innerHtml", "bob");
   divControl.Visible = true;
   this.Controls.Add(divControl);
  </code></pre>
  
  <p>But how do I set the text (innerhtml) of the control itself as it doesn't seem to have as innerHtml as an attribute doesn't exist and there is no 'value' or 'text' options shown?</p>
  
  <p>Thanks</p>