Connection of Data Bases ( SQL VS ACCESS )
Using System.Data;
Using System.Data.SqlClient
Using System.Data;
Using System.Data.OleDb;
SQL .NET Data Provider
SqlConnection sqlcon = new SqlConnection ("server=SQLDB; uid=sa; pwd=password; database=pubs");
OleDbConnection adocon=new OleDbConnection ( @ " provider=Microsoft.jet.Oledb.4.0; data source=D:\OOP Progs\MasterDemo\MasterDemo\bin\Bahria.mdb " ) ;
No comments:
Post a Comment