Results 1 to 4 of 4

Thread: quick db definition question

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283

    quick db definition question

    i created a new database by defining it as an ado catalog....
    then i can add adox tables...

    but, i would rather use the normal table class rather than the ado table class. how can i add a normal table to an ado catalog, or how can i define my database differently?

    can you define a new database directly from a dataset for example?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    As far as I know (since I'd worked on this issue) , you can't create mdb database with pure ADO.NET . You can only do this if you want to create SQL Database File .

  3. #3

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283
    right. i d'ont like ado much either.
    so is there a way to define a database given some tables using an object other than the adox catalog?

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    You can build your own database Scheme(whether empty or structured with tables and columns objs) and store it in XML file but not in mdb file . Again SQL can be built by ADO.NET using the SQL String 'Create' .

    Simply , you just creates your objs (DataTable or DataColumn and add every obj to the corresponding collection ) .

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