Noob Help with Tutorial Needed :>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frustrated LDAP administrator

    #1

    Noob Help with Tutorial Needed :>

    I am trying this lesson involving DBs.

    "ms-help://MS.VSExpressCC. v80/MS.NETFramework .v20.en/dv_vbcnexpress/html/caf3ecbd-87f5-4748-b990-7395409a19c7.ht m"

    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 AddressesBindin gNavigatorSaveI tem_Click(ByVal sender As
    System.Object, ByVal e As System.EventArg s) Handles
    AddressesBindin gNavigatorSaveI tem.Click
    Me.Validate()
    Me.AddressesBin dingSource.EndE dit()
    Me.AddressesTab leAdapter.Updat e(Me.FirstDatab aseDataSet.Addr esses)

    End Sub

    Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As
    System.EventArg s) Handles MyBase.Load
    'TODO: This line of code loads data into the
    'FirstDatabaseD ataSet.Addresse s' table. You can move, or remove it, as needed.
    Me.AddressesTab leAdapter.Fill( Me.FirstDatabas eDataSet.Addres ses)

    End Sub
    End Class


Working...