home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
202.53.64.216
/
202.53.64.216.tar
/
202.53.64.216
/
revelationindia
/
test.asp
< prev
next >
Wrap
Text File
|
2004-09-27
|
674b
|
29 lines
<!--#include file = "include\adovbs.inc"-->
<%
dim con
dim StrPath,DBPath,Strsql,rs
set con = server.CreateObject("ADODB.Connection")
'DBPath = "C:\desktop\Mss\maniindia"
'D:\webroot\208\goodwill\sample.asp
DBPath = "D:\webroot\214\maniindia"
con.ConnectionString = "DSN=maniindia;UID=;PWD=;DATABASE=" & DBPath & ";"
con.Open
Strsql = "SELECT * FROM user_count_gms"
set rs = server.CreateObject("adodb.recordset")
set rs = con.Execute(Strsql)
Response.Write "Count=" & rs.Fields(0)
Response.Write "<BR>"
StrPath = server.MapPath(Request.ServerVariables("path_info"))
Response.Write StrPath
Response.End
%>