How do I set the selected value in an ASP.NET Drop Down List?
<p>I'm using an ASP.NET dropdown. I want to set the selected element using an ID (<code>Id</code>) which is stored in the <code>DataValue</code> field.</p>

<pre><code>ddlTest.DataValueField = "Id";    
ddlTest.DataTextField = "Name";
ddlTest.DataSource = searchResultList;
ddlTest.DataBind();
</code></pre>

<p>But all I can see is the <code>SelectedIndex</code> property which isn't the correct thing. How do I set by value?</p>
