Click here to Skip to main content
15,894,343 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How to read the body of methods in JavaScript Pin
Sunasara Imdadhusen4-Oct-10 2:45
professionalSunasara Imdadhusen4-Oct-10 2:45 
AnswerRe: How to read the body of methods in JavaScript Pin
Karthik. A4-Oct-10 10:18
Karthik. A4-Oct-10 10:18 
AnswerRe: How to read the body of methods in JavaScript Pin
moocr.com1-Nov-10 15:58
moocr.com1-Nov-10 15:58 
QuestionCalling jar file from javascript at client side Pin
sakthii3-Oct-10 4:20
sakthii3-Oct-10 4:20 
AnswerRe: Calling jar file from javascript at client side Pin
moocr.com1-Nov-10 16:01
moocr.com1-Nov-10 16:01 
GeneralRe: Calling jar file from javascript at client side Pin
sakthii25-Nov-10 2:58
sakthii25-Nov-10 2:58 
QuestionJavascript/ASP/SQL Pin
Paul Hayman2-Oct-10 20:59
Paul Hayman2-Oct-10 20:59 
AnswerRe: Javascript/ASP/SQL Pin
NeverHeardOfMe3-Oct-10 4:41
NeverHeardOfMe3-Oct-10 4:41 
The error message you show indicates an error with the ASP code.

It's been so long since I ussd classic ASP that I can't really remember it all now, but two things jump straight out from your code:

Having already set:

set objRS = Server.CreateObject("ADODB.Recordset")


you should not be setting it again on line 18 (where the error is)

set objRs = connString.Execute(mySQL)


So try rwemoving the "set" keyword from that line.


Also.. shouldn't you be closing your database connection at some point..? (That's a rhetoric question btw - you should be!)

Do you really have to use clasic ASP? Move on to .NET if you possibly can.
GeneralRe: Javascript/ASP/SQL Pin
Paul Hayman3-Oct-10 5:22
Paul Hayman3-Oct-10 5:22 
GeneralRe: Javascript/ASP/SQL (edit) Pin
NeverHeardOfMe3-Oct-10 5:42
NeverHeardOfMe3-Oct-10 5:42 
GeneralHere's a bit of old code I dug up... Pin
NeverHeardOfMe3-Oct-10 5:59
NeverHeardOfMe3-Oct-10 5:59 
GeneralRe: Here's a bit of old code I dug up... Pin
Paul Hayman3-Oct-10 8:01
Paul Hayman3-Oct-10 8:01 
GeneralRe: Here's a bit of old code I dug up... Pin
NeverHeardOfMe3-Oct-10 10:34
NeverHeardOfMe3-Oct-10 10:34 
Questionfind the mistake Pin
yumss1-Oct-10 1:22
yumss1-Oct-10 1:22 
AnswerRe: find the mistake Pin
Pete O'Hanlon1-Oct-10 1:46
mvePete O'Hanlon1-Oct-10 1:46 
GeneralRe: find the mistake Pin
NeverHeardOfMe1-Oct-10 3:20
NeverHeardOfMe1-Oct-10 3:20 
AnswerRe: find the mistake Pin
Stryder_11-Oct-10 3:25
Stryder_11-Oct-10 3:25 
AnswerRe: find the mistake Pin
W Balboos, GHB6-Oct-10 10:02
W Balboos, GHB6-Oct-10 10:02 
Questionbrowser display problem Pin
annie_bel29-Sep-10 23:32
annie_bel29-Sep-10 23:32 
AnswerRe: browser display problem Pin
Gerben Jongerius30-Sep-10 2:24
Gerben Jongerius30-Sep-10 2:24 
Questionadd new cell by pressing tab button Pin
annie_bel29-Sep-10 0:20
annie_bel29-Sep-10 0:20 
AnswerRe: add new cell by pressing tab button Pin
Pete O'Hanlon29-Sep-10 1:10
mvePete O'Hanlon29-Sep-10 1:10 
GeneralRe: add new cell by pressing tab button Pin
annie_bel29-Sep-10 1:30
annie_bel29-Sep-10 1:30 
Questionwindow.status Pin
hotthoughtguy28-Sep-10 6:31
hotthoughtguy28-Sep-10 6:31 
AnswerRe: window.status Pin
hotthoughtguy28-Sep-10 6:32
hotthoughtguy28-Sep-10 6:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.