c# selecting a drop down option from webbrowser
<p>So i've tried everything i've found on here.</p>

<p>Including </p>

<pre><code> webBrowser1.Document.GetElementById("field_gender1").Children[1].SetAttribute("selected", "selected");
</code></pre>

<p>The HTML is</p>

<pre><code>&lt;select name="gender1" id="field_gender1" class="select"&gt;
        &lt;option selected="selected" value="1"&gt;val1&lt;/option&gt;
        &lt;option value="2"&gt;val2&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>However none of them seem to work, anyone any suggestions? </p>
