title: string to dropdownlist as items
body: <p>On ASP.net webform I'm trying populate dropdownlist with items that received as a sting from the server but insted of idividual items it shows as text.</p>
  
  <p>How can I make the retrived string to be added to dropdownlist as items ?</p>
  
  <p>Button click code:</p>
  
  <pre><code>protected void btnSend_Click1(object sender, EventArgs e)
      {
          server.Connect(ipep);
          NetworkStream stream = new NetworkStream(server);
          Byte[] data = System.Text.Encoding.ASCII.GetBytes("GU");
          stream.Write(data, 0, data.Length);
          data = new Byte[256];
          Int32 bytes = stream.Read(data, 0, data.Length);
          ResponseData = System.Text.Encoding.ASCII.GetString(data, 0, bytes);
  
          DropDownList1.Items.Add(ResponseData);
  
          server.Close();
      }
  </code></pre>
  
  <p>On other side Powershell server will complete the function and response with:</p>
  
  <pre><code>function GU
  {
  $global:rresult = @("test1" , "test2" , "test3")
  }
  </code></pre>
  
  <p>And Unfortunately the result is:
  <a href="https://i.stack.imgur.com/whwKp.jpg" rel="nofollow noreferrer">DropDownListAsString</a></p>
  
  <p>Tried to <code>.Split(',')</code> and other things but nothing worked.
  Any idea how could I add <code>"test1" , "test2" , "test3"</code> as separate items ?</p>