Results 1 to 5 of 5

Thread: Save changes wont work??

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Save changes wont work??

    I fill a dataset with the following:

    'fiLLDATASET WITH INFO FROM DATAADAPTOR
    objOwnerDA.Fill(objdataset, "tblItems")

    The dataset is displayed 1 record at a time on a form with a button to save changes :

    Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
    objOwnerDA.Update(objdataset, "tblItems")
    End Sub

    The button doesnt save the changes.

    Any Ideas???

    Parksie

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Any exceptions?

  3. #3

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    Having only been programming in .NET for a few weeks I dont even no what an exeption is.

    If you mean error messages then no.

    Parksie

  4. #4
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Strange one then

  5. #5
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    Do you have an update command?
    Is the connection open?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width