title: Fill textbox with multiple email address from dropdownlist and seperate by comma in asp net
body: <p>I have one text box and one dropdownlist. The dropdownlist stores all the email address. I would like populate the textbox with multiple email address and each address is separated by comma when the dropdownlist text is changed. I tried something like this:</p>
  
  <pre><code> static string emailList;
  
      protected void Page_Load(object sender, EventArgs e)
      {
  
  
      }
  
      protected void DropDownList1_TextChanged(object sender, EventArgs e)
      {
  
          emailList = emailList + DropDownList1.Text + ",";
          emails.Text = emailList;
  
      } 
  </code></pre>
  
  <p>but it does not work as expected since the comma also included at the front of the first email address.</p>
  
  <p>any help will be appreciated.</p>