% strAccessDB = "../db/guestbook" 'Create a connection odject Set adoCon = Server.CreateObject("ADODB.Connection") 'Open connection to the database driver adoCon="DRIVER={Microsoft Access Driver (*.mdb)};" 'Open Connection to database adoCon = adoCon & "DBQ=" & server.mappath(strAccessDB) Set adohalka = Server.CreateObject("ADODB.Recordset") halkaSQL = "SELECT * FROM halka where status=2 order by halkaid desc " adohalka.Open halkaSQL, adoCon, 3 %>
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||