<%

Set cnn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")

cnn.Open "DBQ=" & server.mappath(".") & "\xxx\xxxx.mdb;Driver={Microsoft Access Driver (*.mdb)};"

'select from db
strSQL = "select * from XX where XX = 'XX'"
response.write("sql = " & strSQL & "<br>")
set rs = cnn.execute(strSQL)

if not rs.eof and not rs.bof then
end if
%>

Back to ASP

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2017 15:30 by UnknownAuthor
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 1895

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
Looping Around A Recordset

JSPWiki v2.8.1