title: Assign a string to InnerHtml of a HtmlElement obeject
body: <p>I try to fill up a "Select" element in my HTML while it's open on my own browser in a C# application. So i did this:</p>
  
  <pre><code>DataTable dt = new DataTable();
  HtmlElement States = webBrowser1.Document.GetElementById("Select1");
  da.Fill(dt);
  States.InnerHtml = "";
  for (int i = 0; i &lt; dt.Rows.Count; i++)
  {
      string head = String.Format(@"&lt;option Value=""{1}""&gt;", 
          dt.Rows[i]["Code"].ToString());
       string body = String.Format("{0}&lt;/option&gt;", dt.Rows[i]["Name"].ToString());
       string tag = head + body;
  
       States.InnerHtml =tag;
  }
  </code></pre>
  
  <p>But surprisingly when I expect to result be something like this </p>
  
  <pre><code>&lt; option Value="aNumber"&gt;testString&lt;\option&gt;
  </code></pre>
  
  <p>I see this: </p>
  
  <pre><code>testString&lt;\option&gt;
  </code></pre>
  
  <p>I saw the same problem here when I was struggling to write the expected string. Finally I inserted a blank space to the second char on my string.  Thus I worte <code>&lt; option&gt;</code> instead of <code>&lt;option&gt;</code> in here.  I did same for that string which I want to pass to the <code>InnerHtml</code> property of my element.  But unfortunately it didn't work.</p>