Retrieve Listbox items

Results 1 to 2 of 2

Thread: Retrieve Listbox items

  1. #1
    Join Date
    Dec 1969

    Default Retrieve Listbox items

    Hello,<BR><BR>Using C# on a web form with a textbox for the user to enter a word and then click on a button to have the word entered into a listbox. After the user has entered as many words as they wish they can then click on another button to have all of the words in the listbox processed.<BR><BR>My question is: how do I retreive the words from the listbox?<BR><BR>I would think I could loop through the listbox and get each word but I am not finding anything like this in my searches.<BR>[code language="C#"]<BR> For (int i = 0; i &#060; Listbox1.Count; i = i+1)<BR> {<BR> wordlist[i] = Listbox1.?????;<BR> }<BR>[/code]<BR>Can someone aim me in the right direction?<BR><BR>Regards,<BR>Bill Antonacchio<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Retrieve Listbox items copytotopic.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts