Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a large list of keyword and I want include this list in a listbox .How can I do it?

I tried by paste the list in the collection control but by this way the listbox allow only a small amount of keywords. Can you help me?
Posted

1 solution

The obvious way is to read that list into a collection and bind your listbox to it. Of course, if your list is huge, it may contain more records than the control can handle, or at least more than is sensible for you to put in to a single list. How large is large ? It sounds to me like you need to rethink your UI. You should certainly try to write code instead of just creating your UI in the designer. That's not programming.
 
Share this answer
 
Comments
edumaite 9-Aug-11 23:54pm    
The list has 5000 items.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900