title: DataBind or DataBound
body: <p>I thought I had a simple task; add "Select..." to several dropdown lists.</p>
  
  <p>However I am not getting the results I want and I am getting more and more confused if I should be using the dataBound or dataBinding event in my Gridview edit mode.</p>
  
  <p>My code is pretty simple;</p>
  
  <pre><code>protected void ActivityList_DataBinding (object sender, System.EventArgs e)
  {
      DropDownList ddl2 = (DropDownList)(sender);
      var act = Eval("myactivity").ToString();
      if (act != "") { ddl2.SelectedValue = act; }
      ddl2.Items.Insert(0, new ListItem("Select..", "-1"));
  }
  </code></pre>
  
  <p>This checks if a value has already been selected, and would hopefully jump to the selection if it has been, still adding a Select item to the list.</p>
  
  <p>Using the dataBound event works in the sense it addes my Select, but does not go to the selected value if there is one. Also it is creating odd behavior, jumping to the top of my page upon selection, rather than staying on the row I am editing.</p>
  
  <p>Using dataBinding does not show my added items at all.</p>
  
  <p>All advice welcome!</p>
  
  <p>Alex (Lost in CodeLand)</p>