Paul Clement
5/16/2005 2:26:00 PM
On Sun, 15 May 2005 05:20:36 -0700, Madhan B via .NET 247 <anonymous@dotnet247.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)