Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all visitors
i have problem with saving data to Ms Access using Binding source in VB.NET
I used Binding Source to insert data from my form to Ms Access but it can't save for long time.

in Table item doesn't have any record and one the form i input 2 record
This is the code in my button SAVE
Me.ItemBS.endedit()
Me.ItemTA.update(me.PP.item)


After i clicked on button save, i go to open Ms Access File.
I can see the new data that i just input on form. but a few minutes later, when i open Ms Access again, all data in table ITEM will be nothing.
Anybody know how to solve this problem?

Thanks
TONY
Posted
Comments
_Damian S_ 18-Aug-11 1:31am    
Is your code doing something silly like creating the table each time it's called?
soeun tony 18-Aug-11 21:49pm    
No, This code is in button Save. i also use this code with saving data to MS SQL server and it still keep data long time.
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900