Results 1 to 5 of 5

Thread: filling in data values in mdb

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283

    filling in data values in mdb

    ok, i made a database using code only.
    i can add tables and i can add columns to the tables.
    i do this like pirate showed in his tutorial.
    now that i have this, how do i add rows to the tables?
    i have read many ado tutorials, but none of them show in an easy way how to do this.
    for example, does any body have some code to do this:
    fill a table with this data:
    the filename of every file in a folder, where each filename has its own cell.

    please please give me some simple code that i can start out with...

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Store data in datarow objects mapped to their indexes or column names then use Update method of the OleDbAdapter . Promise to give you a demo .

  3. #3

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283
    thanks. cant wait for the demo

  4. #4

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283
    actually never mind. i figured it out on my own by now...

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    It's just easy when you know it !

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