User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 361,900 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,409 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser:
Views: 2821 | Replies: 3
Reply
Join Date: Mar 2005
Posts: 148
Reputation: Toulinwoek is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Junior Poster

Help Perplexed: Combo Box Not Holding Data

  #1  
Sep 3rd, 2005
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?
:!: In The Beginning, God; In The End, God. In between, believe whatever you like. :)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 26
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Perplexed: Combo Box Not Holding Data

  #2  
Sep 4th, 2005
provide code with respect to the issue, and we may be able to help!
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Reply With Quote  
Join Date: Mar 2005
Posts: 148
Reputation: Toulinwoek is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Junior Poster

Re: Perplexed: Combo Box Not Holding Data

  #3  
Sep 4th, 2005
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!
:!: In The Beginning, God; In The End, God. In between, believe whatever you like. :)
Reply With Quote  
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 26
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Perplexed: Combo Box Not Holding Data

  #4  
Sep 4th, 2005
Hey sounds good.

My prayers are with you.
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb C# Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 8:48 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC