944,031 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4002
  • C# RSS
Sep 3rd, 2005
0

Perplexed: Combo Box Not Holding Data

Expand Post »
I'm having the following problem and can't find a solution:

I have an app with four combo boxes, each of which gets its selection list from tables in a database. Each table has a form that can be used allow the user to populate that table. I have one Combo Box that isn't acting right.

When I run the program, everything works; I can populate the lists, and select items from the list. When I save the record, this one rogue combo box is updated, but if I close and run the app again, or if I navigate to another record and come back, that same combo box is empty, though all the other fields are still populated.

I'm using an Access database, and I've checked it, the databindings, the properties for the combo box and its bindings...etc
I can't find anything that would account for this.

Anyone have any ideas?
Similar Threads
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005
Sep 4th, 2005
0

Re: Perplexed: Combo Box Not Holding Data

provide code with respect to the issue, and we may be able to help!
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003
Sep 4th, 2005
0

Re: Perplexed: Combo Box Not Holding Data

Sorry, I should have provided code.

Out of frustration, I have removed that combo box from the application. What I'll do, is work on it again this evening and put it back. If I have the same problem, I'll post the code.

Right now, I'm off to church!
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005
Sep 4th, 2005
0

Re: Perplexed: Combo Box Not Holding Data

Hey sounds good.

My prayers are with you.
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Microsoft NET. framework
Next Thread in C# Forum Timeline: File.Create Question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC