Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 22nd, 2007, 4:01 PM   #1
Robocop
Programmer
 
Join Date: Sep 2004
Posts: 47
Rep Power: 0 Robocop is on a distinguished road
ComboBox Question

Can somebody please tell me how to get data from a database to show up in the combobox dropdown in code?

Thanks
Robocop is offline   Reply With Quote
Old Nov 22nd, 2007, 7:29 PM   #2
Alias
Newbie
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 Alias is on a distinguished road
Re: ComboBox Question

Create a DataView instance and populate it with data retreived from the database, then proceed:
ComboBox.DataSource = DataView
You should actually be able to reference the source against your, presumably, already existing, populated DataSet.
Alias is offline   Reply With Quote
Old Nov 23rd, 2007, 5:31 AM   #3
Robocop
Programmer
 
Join Date: Sep 2004
Posts: 47
Rep Power: 0 Robocop is on a distinguished road
Re: ComboBox Question

can you please explain more?
Robocop is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic 2005 Question ReubenK Visual Basic .NET 3 Apr 5th, 2006 3:23 PM
How to post a question nnxion C++ 10 Jun 3rd, 2005 11:53 AM
How to post a question nnxion C++ 0 Jun 3rd, 2005 8:55 AM
How to post a question nnxion C 0 Jun 3rd, 2005 8:55 AM
how to make an autocompleting combobox? chepfaust Visual Basic 5 Apr 2nd, 2005 9:07 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC