Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 28-08-2009
Member
 
Join Date: Jul 2009
Posts: 81
ListView or ListBox

I am currently using 8000+ items in a ListView and this will increase with time. But the problem is that the time of my form loading and search result is too slow. This is affecting my project performance. I consulted with some of my expert friends and they suggested me to use ListBox because it supports more than this. So I want to ask you which is better for projects: ListView or ListBox which will be handling more than 10000 of items.
Reply With Quote
  #2  
Old 28-08-2009
Member
 
Join Date: Nov 2005
Posts: 1,323
Re: ListView or ListBox

A ListBox is simple and relatively lightweight. The ListView gives you a lot more control over appearance then ListBox. But ListView reduces the project performance and requires additional dependencies. On the contrary, ListBox improves project performance. ListView's are more Object Oriented than the ListBox.
Reply With Quote
  #3  
Old 28-08-2009
Member
 
Join Date: Nov 2008
Posts: 1,192
Re: ListView or ListBox

A ListView is a special kind of ListBox that inherits all the functionalities of ListBox. It not only allows you to list items but also specifies them in different views. It is often called as multi-column ListBox. In your case, if you do not want all this functionalities and want a simple and normal straight view then you can go for ListBox.
Reply With Quote
  #4  
Old 29-08-2009
Member
 
Join Date: May 2008
Posts: 685
Re: ListView or ListBox

ListView is used to present the data items which is defined by its view mode. Windows Presentation Foundation (WPF) provides a GridView view mode that partitions the ListView data item content into columns. Whereas ListBox displays the list items in straight view and is used when layout is not important. Even we have used ListBox in our project.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "ListView or ListBox"
Thread Thread Starter Forum Replies Last Post
Problem with Listview Controls in VB.NET Abel18 Software Development 6 08-10-2011 09:10 PM
how to use Vscrollbars with Listview Suffix Software Development 1 01-10-2011 11:46 AM
Want to delete the data using the ListView Flaco Software Development 6 20-01-2010 05:42 PM
Transfer the data to another listview Chhaya Software Development 3 05-10-2009 12:19 PM
limits on listview Christopher Software Development 3 17-10-2008 03:07 PM


All times are GMT +5.5. The time now is 09:56 AM.