title: sorted list and drop down list in asp.net using c#
body: <p>I have an method which returns a sortedList and i want to datasource it to a Dropdownlist.</p>
  
  <p>i am using </p>
  
  <pre><code>DropDownList1.DataSource=stList;
  DropDownList1.DataValueField=stList.ContainsValue();
  DropDownList1.DataTextField=stList.ContainsKey();
  DropDownList1.DataBind();
  </code></pre>
  
  <p>But it gives an error: No overload method for containsKey and containsValue.
   How to populate this sorted table in drop down list?</p>