Results 1 to 3 of 3

Thread: Dataset table to ADOX table

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164

    Dataset table to ADOX table

    Anyone know an easy way to get from a dataset into an ADOX catalog? or from a datatable to an ADOX table?
    -Shurijo

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    The Fill method of the OleDataAdapter is overloaded to fill an ADO recordset from a DataTable. You can look into that.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164
    Thanks. I looked into that, but I couldn't figure it out.

    Basically, I have a dataset with multiple tables that I want to dump to a new access file (create access & tables and dump rs).

    I can create the access db using ADOX.Catalog.Create() and I seen how to make the table and each column. But I was wondering how I could just dump an entire dataset into access and maintain the fields and records and table names, etc.
    -Shurijo

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