Click here to Skip to main content
12,700,376 members (35,415 online)
Rate this:
Please Sign up or sign in to vote.
Dear Coders,

Suggest me some real good references to work with listbox to fetch data from database and view the data in form view...
Posted 6-Nov-12 20:28pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Just Add Listbox control to your form designer, populate a datatable from where you want to display data and bind it to listbox using DisplayMember and ValueMember Properties.

Try this and let us know if you have any problem

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100