title: C# select in webbrowser
body: <p>I need to get a table from the site. To do this, I load the webpage into webbrowser. But beyond that, I need to select from the drop down menu the desired option, then the page should be updated. Then I will work with the html code. It turns out that I need to update the data in webbrowser. How do I implement it?
  That's how I tried to choose the desired option:</p>
  
  <pre><code>foreach (HtmlElement element in webBrowser1.Document.All)
  {
      if (element.GetAttribute("name") == "Time")
      {
          element.Children[6].SetAttribute("selected", "selected");
          webBrowser1.Document.GetElementById("Time").InvokeMember("onchange");
      }                                  
  }
  </code></pre>
  
  <p>But it did not change the content of webbrowser.</p>
  
  <p>Edit:I missed, that it is ajax table.</p>