There's no Try and Catch in ASP, use "On Error Resume Next". Try and Catch statements are available in asp.net only! ASP is just VBScript. You cannot also use the Dim As Statement here's a sample...
Type: Posts; User: kooshal; Keyword(s):
There's no Try and Catch in ASP, use "On Error Resume Next". Try and Catch statements are available in asp.net only! ASP is just VBScript. You cannot also use the Dim As Statement here's a sample...
Replace the target="main" with target="_top"
Try this:
--------- In each page at the top before include statement -----------
<%
Dim pageTitle
pageTitle = "## Your page title here! ##"
%>
-----------------------------------
---------...
Use this code:
<%
'Declare variables first!
Dim Conn, rs, SQl, msg
'Create Connection and RecordSet Objects
Set Conn = Server.CreateObject("ADODB.Connection")
Set rs =...