View Single Post
  #9 (permalink)  
Old May 11th, 2004, 05:02 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

Glad it's working now.

How did you bind our data? Did you assign the DataSet, a DefaultView or an explicit table?

Maybe you can use a more complex DataSet, but you'll need to use a strongly referenced table, like this:

MyCombo.DataSource = MyDataSet.Tables("MyTable")

That worked for me, although I didn't try a DataSet with multiple tables yet.

I think it's true what they say about the .NET Framework: "It makes the hardest things easy, and the easiest things very hard." I can't believe selecting an item in a ComboBox should be so hard....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: The Saxophone Song by Kate Bush (Track 2 from the album: The Kick Inside) What's This?
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
Ron Howerton (February 22nd, 2013)