Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello
I was using data-bound controls to call,add and update(save) my database that is in access, but it failed with queries table, I've been using data-bound controls for others tables it works properly.

Here are the codes I m using update but it is not working it shows errors. let me send to you
the bound data controls I've been used.

VB
Private Sub Button56_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button56.Click
        Me.Validate()
        Me.Lending_Address_QueryBindingSource.EndEdit()
           Me.Lending_Address_QueryTableAdapter.Adapter.Update(_CUULibDB_mdbDataSet.Lending_Address_Query)
        

    End Sub


VB
me.validate()
        
Me.Lending_Address_QueryBindingSource.EndEdit()
           Me.Lending_Address_QueryTableAdapter.Update(_CUULibDB_mdbDataSet.Lending_Address_Query)


I need to know which code I have to use instead of those above.
Posted
Updated 13-Sep-13 5:46am
v2

1 solution

 
Share this answer
 
Comments
DAVID DUSHIMIMANA 13-Sep-13 12:56pm    
Me, I m using Visual Basic Studio 2010 Express, that why I say I m using vb.net, I don't use VBA, I also use mdb version instead of accb, because there is time my vb.net changed to mdb where I couldn't change to accb version, I even change my database that time.

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