% Dim sScriptName sScriptName = Request.ServerVariables("SCRIPT_NAME") Dim quote quote = chr(34) Dim cnn set cnn = Server.CreateObject("ADODB.CONNECTION") cnn.ConnectionString = conn_shan cnn.Open Function GetRecords(sSQL) Dim rst Set rst = Server.CreateObject("ADODB.RECORDSET") set rst.ActiveConnection = cnn 'When Record is Open, adUseClient CursorLocation 'will check all records 'adUseServer allows to use CacheSize 'rst.CursorLocation = adUseServer 'When using AdUseServer£¬CacheSize 'limits the lines we are fetching. We only fetch what is 'needed to display - iRowsPerPage 'rst.CacheSize = iRowsPerPage rst.CursorType = 3 rst.CursorLocation = 3 rst.LockType = 3 rst.Open sSQL ',adOpenStatic, adLockReadOnly Set GetRecords = rst END Function Sub CleanUp(rst) If Not rst Is Nothing then If rst.state = 1 then rst.close end if set rst = nothing End If End Sub %> <% Dim sSQL,rst Dim StrSQL %>
Server for
Pharmacophore
Information and
Mapping
|
|||||||||
![]() ![]() ![]() |
|||||||||
Preliminary: Use of SPIM for commercial purposes is not allowed.
<%
Dim L,i,num,Display
L=Len(NewHits)
i = 1
For i = i to L
num = Mid(NewHits,i,1)
Display = Display & "
Welcome to sign our Guestbook. If you find any error in data or bug in web service, please kindly report it to maxiaohua@nus.edu.sg.
|
|||||||||
![]() |
|||||||||
|
|||||||||
Department
of Computational Science | National University of Singapore | Blk S17,
3 Science Drive 2, Singapore 117543
|