Click here to Skip to main content
12,622,291 members (36,998 online)
Click here to Skip to main content

Tagged as

Stats

6.9K views
Posted

Updating Listbox Items when they are custom Objects

, 6 Apr 2010 CPOL
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...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 6-Apr-10 8:30 Available William Winner
2 No 6-Apr-10 7:32 Composing William Winner
1 No 6-Apr-10 6:39 Composing William Winner

License

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

Share

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.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.161128.1 | Last Updated 6 Apr 2010
Article Copyright 2010 by William Winner
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid