title: how to select with DropDownList.text
body: <p>I am working on an Asp.NET project and I am trying to set the selected value of a dropdown list with a text property. For example i have i.e an item in the dropdown list with text <code>test</code>. Programmatically can i set it to <code>selecteditem</code> by <code>Text</code>?. I am using the follwing code but is not working. </p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      string t = "test";
      drpFunction.Text = t; 
  }
  </code></pre>
  
  <p>But is not working. Any suggestions ?</p>