Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Updating Listbox Items when they are custom Objects

, 6 Apr 2010
I have a ListBox on a form.When I add a new item to the ListBox, I am adding a custom class called Query. In the Query class I have overridden the ToString() method to display the Name property.This works great when I add all of the new items. They are stored correctly in the ListBox...



Compare Revision Minor Date Status Editor
publicly available No 6-Apr-10 18:30 Available William Winner
2 No 6-Apr-10 17:32 Composing William Winner
1 No 6-Apr-10 16:39 Composing William Winner


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

About the Author

William Winner
Other NOAA
United States United States
I am a commissioned officer with the NOAA Commissioned Corps.
Currently I am a GIS Analyst with the National Marine Fisheries Service. I have a Master's in Environmental Science and code more as a means to an end.

| Advertise | Privacy | Mobile
Web04 | 2.8.140709.1 | Last Updated 6 Apr 2010
Article Copyright 2010 by William Winner
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid