|
-
Aug 16th, 2012, 02:32 PM
#1
Thread Starter
New Member
ComboBox and CheckBox clearing after saving
Hi everyone
I'm having a little problems with an application i'm making with Visual basic express 2010. I have many ComboBox bind to a dbase. Eveything work fine but when I press the save button the Combobox.text="" and I don't know why. When I search in the dbase, I can see the information I wrote. But if i'm trying to see the information with the application the Combobox stay clear. The same thing happen with one of my checkbox wich uncheck itself. Thanks for you help
-
Aug 16th, 2012, 04:59 PM
#2
Re: ComboBox and CheckBox clearing after saving
Somewhere in your code you're telling the combobox's text to be empty as well as getting that checkbox to set it's self to uncheck. But since we don't know how you're saving the data, I can't give you an answere.
-
Aug 17th, 2012, 08:03 AM
#3
Thread Starter
New Member
Re: ComboBox and CheckBox clearing after saving
My code for my save button is :
Me.validate()
Me.Bindingsource.endedit()
Me.tableadapter.update(Dataset.Table)
The text of my combobox clear itself if I close my application and restart it. I've made few test with new combobox I created. The new combobox keep the information but not the old one. I can't see the differences in the properties between these two combobox.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|