title: strange conversion error when grabbing dropdownlist from form
body: <p>I've got a .net web form, back end is in vb.net. A few dropdownlists are added to the form, with their controls following the naming convention "ddlCol" + integer, so "ddlCol0", "ddlCol1", etc.</p>
  
  <p>When I try and grab one of these dropdownlists to code against the control, I'm getting a conversion error from string to integer: Conversion from string "ddlCol0" to type 'Integer' is not valid.</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code> sDDL = "ddlCol" + iDDLControlCounter.ToString()
      Dim ddl As DropDownList = CType(Me.Controls(sDDL), DropDownList)
  </code></pre>
  
  <p>I admit my vb.net is a bit rusty. Is there something dumb I'm doing wrong?</p>