Results 1 to 6 of 6

Thread: ADO vs DAO

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    4

    ADO vs DAO

    I am developing an application with VB.Net. Currently I am storing my data in an Access 2000 database. Should I connect to this databse via ADO or DAO. I am more familiar with DAO because I have used it when developing applications in Access. I have been told that using ADO was pointless because I am using Access and not SQL Server.

    However, I want to develop this application with scalibilty in mind. I may in the future choose to move over to SQL Server and I would like to develop my front end so that the transition would be a simple one. Keeping this is mind, Does anyone have some suggestions as to how to go about developing the front end? Should I create a code module that connects to my database? Or should I connect to the database with each form i create?

    Thanks.


    -Chris
    Last edited by ChrisMalter; Jul 31st, 2002 at 03:23 AM.

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    I have been told that using ADO was pointless because I am using Access and not SQL Server.
    Whoever told ou this is retarded, j/k. Seriously though, you should use ADO, and since you are using .NET, might as well use ADO.NET. This is much better than ADO imho.

    Yes, use code modules for the DB, that way all your DB code is located at one centralized place. No hunting when ou want to change it latter.

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    neither. You use ADO .NET.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Hyperactive Member
    Join Date
    Aug 2001
    Posts
    335
    Can u use the DAO Object in
    .net
    I thought it gone.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    4

    Thanks

    Thanks for the replies. I didn't realize there was a difference between ADO and ADO.NET. I haven't looked into it yet, but I guess now I should start. Anyone recommend where to find some good articles on ADO.NET?

    -Chris

  6. #6
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Baaaaaaaaah

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