title: How to bind drop down list with string array in ASP.NET?
body: <p>I am able to bind drop down list with a string array by doing so (not sure whether this is the correct way to implement):</p>
  
  <pre><code>string[] items = { "111", "222", "333" };
  ddlSearch.DataSource = items;
  ddlSearch.DataBind();
  </code></pre>
  
  <p>However, what I actually wanted is: When I click the drop down list, the first item showing in the list shall be <code>111</code> followed by <code>222</code> and <code>333</code>.</p>
  
  <p>How am I able to add the strings of text to show in the drop down list when I click the drop down list button?</p>
  
  <p>Java has an easy way to add items to be displayed in the list, but how do we do it in C#? (I am very new to C# by the way.)</p>