title: Adding text from textbox to listbox in asp.net web form
body: <p>Ok, so I know this works on windows based forms because I have used it numerous times.....</p>
  
  <pre><code>        lstBoxExternal.Items.AddRange(txtBoxNameExternal.Text.Split(vbNewLine))
  </code></pre>
  
  <p>But this does not work for we based forms I am guessing? Can anyone tell me why and what the correct way to add text to a list box from a textbox on button click?</p>
  
  <p><strong>Error</strong></p>
  
  <p><strong>Value type of String cannot be converted to 1-dimensional array of System.Web.UI.WebControls.Listitem</strong></p>