Wite selected ListBox items to 1 table column

2 posts, 0 answers
  1. davidp
    davidp avatar
    11 posts
    Member since:
    Jun 2012

    Posted 20 May 2010 Link to this post

    Is it possible to have selected ListBox items written to 1 column in a table?  I have a Listbox that contains staff whenever a staff member is moved to the associated Listbox I would like to write all names that are in the selected listbox to 1 column in a table. 

    Thanks in advance

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 May 2010 Link to this post


    One suggestion would be looping through the SelectedItems collection and adding the values to table.


            foreach (RadListBoxItem item in RadListBox1.SelectedItems)  
                string str = item.Text;  
                // Your logic to add the values to table  


  3. Telerik UI for ASP.NET Core is out
Back to Top