Results 1 to 40 of 63

Thread: ADO Beginners Tutorial

Hybrid View

  1. #1
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: ADO Beginners Tutorial

    Use the DataAdapter's update method to update the db with changes made in the dataset.

  2. #2
    Lively Member
    Join Date
    Nov 2004
    Posts
    70

    Re: ADO Beginners Tutorial

    Nope, I don't think that helps in my case. My database is an xml database, so I'm using no dataadapter, just the dataset. And the thing is that the change in the data comes from the user he clicks the button that says 'erase entry' and then I want the 'erased' field to be set to true. So I need to be able to do Dataset.Table.Change(...) if it existed, and then run Dataset.WriteXml(..).

    So I wanna change the dataset and then write the xml.

    Am I missing something I should be using like a dataadapter or something like that?

    Thanks

  3. #3
    New Member
    Join Date
    Dec 2004
    Posts
    2

    Re: ADO Beginners Tutorial

    what if you dont have ms access 2000. how can i save things to lables or text boxes or something?

  4. #4
    Frenzied Member longwolf's Avatar
    Join Date
    Oct 2002
    Posts
    1,343

    Re: ADO Beginners Tutorial

    This thread looks dead but I thought I'd try anyway.
    I'm completely new at working with DBs.
    I copied the code from Beacon's tut and added the reference.
    Made a DB in Access 2002
    One table with three fields.
    Stored the table in the same folder as the VB project and altered the path in the form load event.

    WHen I get to line:
    Code:
    cn.Open
    I get:
    'Run tome error -yada yada
    Authentication failed'

    Clicking 'Help' just says 'no help on subject'

    Not a great start.
    What do I do?

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