HighTechTalks DotNet Forums  

Re: dll for System.Dat.Ado

Dotnet Framework (ODBC.net) microsoft.public.dotnet.framework.odbcnet


Discuss Re: dll for System.Dat.Ado in the Dotnet Framework (ODBC.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Paul Clement
 
Posts: n/a

Default Re: dll for System.Dat.Ado - 05-16-2005 , 10:26 AM






On Sun, 15 May 2005 05:20:36 -0700, Madhan B via .NET 247 <anonymous (AT) dotnet247 (DOT) com> wrote:

¤ I'm a fresher in .Net
¤
¤ I tried to connect my application(C# and ASP.Net) with MS Access...
¤ I searched for a code in google and found a code suitable to start with..
¤
¤ It contained
¤
¤ using System.Data.Ado;
¤
¤ To enable this what is the dll reference I need to add to my project
¤

That sounds like the name of the library used during the .NET beta phase. There is no such library
in .NET.

Use System.Data.OleDb instead:

using System.Data.OleDb;

OleDbConnection objConn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=e:\\My
Documents\\db1.mdb");

objConn.Open();


Paul
~~~~
Microsoft MVP (Visual Basic)

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.