|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Problem with displaying background image |
From: |
Frankie |
Date: |
12/6/2000 4:36:56 AM |
IP: |
203.85.208.2 |
can somebody help me to look up the following code..Im trying to output a background image for my form..but it does not appear.. why?
thanks
<%
Response.Expires=0
IF Trim(Request.Form("name")) <> "" and Trim(Request.Form("password")) <> "" THEN
dbfile="\aristo\database\teachers.mdb"
myDSN="DRIVER={Microsoft Access Driver (*.mdb)};"
myDSN=myDSN & "DBQ=" & server.mappath(dbfile)
set objConn=Server.CreateObject("ADODB.CONNECTION")
objConn.Open myDSN
Set rst = Server.CreateObject("ADODB.Recordset")
sqlstring = "DELETE * From teachers Where Name = " & Request.Form("name")& " "
rst.Open sqlstring, objConn, 3, 3
response.write "<html>"
response.write "<head>"
response.write "<title></title>"
response.write "<meta http-equiv=""Content-Type"" content=""text/html; charset=big5"">"
response.write "</head>"
response.write "<body bgcolor=""#000099"" background=""../image/teacher_main.jpg"" >" <<==problem here!
Response.write "Record " & Request.form("name") & " has been deleted!"
Response.write "</body>"
Response.write "</html>"
set rst=Nothing : set objConn=Nothing
END IF
%> |
Follow Up - Re: Problem with displaying background image - tuan van dang 12/6/2000 10:14:02 AM
|
|

|
|
|
|
|
|
|
|
|
|