SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: system.data.ado

  1. #1
    SitePoint Guru
    Join Date
    Mar 2006
    Posts
    701
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    system.data.ado

    I am new to .net, so I want to ask something almost simple.
    I take a script from a book that has the
    Code:
    using System.Data.ADO;
    at a aspx.cs file, but I can not compile it because type or namespace ado does not exist at namespace Data.
    What is wrong?
    There is a reference at System.Data

  2. #2
    SitePoint Evangelist praetor's Avatar
    Join Date
    Aug 2005
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ado.Net represents the entire system of accessing data.

    Maybe the book has a typo or they have some namespace System.Data.ADO.

  3. #3
    SitePoint Member
    Join Date
    Sep 2005
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    System.Data.OleDb replaced System.Data.ADO

    so, use

    Code:
    using System.Data.OleDb;
    instead


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •