Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / May 2006

Tip: Looking for answers? Try searching our database.

Simple database to comboBox data bind

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
emorgoch.public@gmail.com - 17 May 2006 18:40 GMT
Hello there,

Still kind of new to .NET , and have been looking online for many hours
now on doing this. All I want to do is take a couple columns from a
view in a database, and bind it to a combo box. What's the simplest
method to do this, cause what I've been seeing so far all seems to get
pretty complex for something that should be relatively simple (At least
it was when doing it in ASP.NET as opposed to a Win Form).

Also as a side note, it would be nice for the Display Member to be
"<col1> - <col2>" and the value member to be <col1>.

Thanks
emorgoch.public@gmail.com - 19 May 2006 18:22 GMT
Alright, I figured it out (thought I think that using a dataset for a
pure read is a little overkill. However, I also need an empty option
that a user can select at the top of the collection, so that the user
can have the option of not selecting anything. Any help?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.