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 ?

Dong Lam TrienRank #1,538 · 1K reputationPosted Sep 23, 2020, 4:50 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Sep 23, 2020, 6:57 PM EDT
jahid hussain47 reputationPosted Sep 20, 2020, 10:38 PM EDT
jahid hussain47 reputationPosted Sep 20, 2020, 10:50 PM EDT
Nisha RegilRank #1,956 · 748 reputationPosted Sep 21, 2020, 3:13 AM EDT
Dong Lam TrienRank #1,538 · 1K reputationPosted Sep 24, 2020, 11:26 PM EDT