Connecting To Access : Access : ADO.Net C# Examples


C# Examples » ADO.Net » Access »

 

Connecting To Access









    
using  System;
using  System.Data.OleDb;

class  MainClass
{
    static  void  Main(string[]  args)
    {
        OleDbConnection  MyConnection  =  new  OleDbConnection  (@"Provider=Microsft.Jet.OLEDB.4.0;  Data  Source  =  c:\Northwind.mdb");
        MyConnection.Open();            
    }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo ADO.Net
» Access