Sql Server Veritabanı İçin ;
———————–
<%
Set baglanti = Server.CreateObject(“ADODB.Connection”)
baglanti.open (“Driver={SQL SERVER};” & “Server=SqlSunucuAdi;” &_
“Addres=SQLSunucuIPAdresi;” &_
“Database=SqlDBAdi;” &_
“UId=KullaniciAdi;” &_
“Pwd=Password;”)
%>
———————–
Acccess Veritabanı İçin;
———————–
<%
DbYol = Server.MapPath(“DataBase.mdb”)
set baglanti = Server.CreateObject(“adodb.connection”)
baglanti.open “Provider=Microsoft.Jet.OLEDB.4.0; Data Source=”& DbYol &”;”
%>
———————–
Mehmet Keklik tarafından yazıldı