How to connect to SQL Server data without using SQL Server Management Studio in C# ?

  • Thread starter Thread starter lamtriendong
  • Start date Start date
L

lamtriendong

Guest
ask: is it possible to connect SQL Server data according to file connection type, just like in microsoft access data connection
public static string sConnectionString = @ "Provider = Microsoft.Jet.OLEDB.4.0; Data Source =" + @ "| DataDirectory | \ data.mdb" + "; Persist Security Info = False; Jet OLEDB: Database Password = 123";


How do you convert the above access connection into sql server connection ?

Continue reading...
 
Back
Top