I am trying this lesson involving DBs.
"ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_vbcnexpress/html/caf3ecbd-87f5-4748-b990-7395409a19c7.htm"
I can successfully create the DB, Create the Access form, and "SEE" the data
I earlier manually placed data in the DB outside of my application. However,
using my application I cannot update the DB as it says I should. I have
redone everything a couple times (Yes, I have hit the save changes button.)
and still I cant modify data.
I found at least one place where "Read-only" could be set and it was not.
The "SaveItem" button did appear to have the code automatically created that
should have saved the data. (See The Auto-Generated Code Below). The "Test
Connection" button reports success when adding the DB to the project.
Any clues on what I may be doing wrong or where to look?
Thanks in advance! (Yes, I know this may be an impossible question, but I'm
hoping its something somebody else has seen before going through the lessons.)
------------------------------------------------------------------------------------------------
Public Class Form1
Private Sub AddressesBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
AddressesBindingNavigatorSaveItem.Click
Me.Validate()
Me.AddressesBindingSource.EndEdit()
Me.AddressesTableAdapter.Update(Me.FirstDatabaseDa taSet.Addresses)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the
'FirstDatabaseDataSet.Addresses' table. You can move, or remove it, as needed.
Me.AddressesTableAdapter.Fill(Me.FirstDatabaseData Set.Addresses)
End Sub
End Class