aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes How to populate the recordset for database connection using Javascript in ASP page ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "How to populate the recordset for database connection using Javascript in ASP page ?" Watch "How to populate the recordset for database connection using Javascript in ASP page ?" New topic
Author

How to populate the recordset for database connection using Javascript in ASP page ?

pratibha patel
Greenhorn

Joined: Feb 22, 2007
Posts: 15
Hello Everyone,

I am using Javascript in ASP page to connect to the database. I am not able to figure out where is the problem.
Gettting this error->

Error Type:
ADODB.Recordset (0x800A0E7D)
The connection cannot be used to perform this operation. It is either closed or invalid in this context.
/MyWeb/test.asp, line 12

My code is->

Error occurring for last line while opening a recordset, I don't know what went wrong. Please help.
If someone could please guide me in the right direction I would greatly appreciate it.

Thanking You.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to populate the recordset for database connection using Javascript in ASP page ?
 
Similar Threads
Error with jsp and JavaBeans
Problem loading the class
Newbie needs help - use AJAX to open ASP?
Getting javascript error while closing ActiveXRecordset object
Problem compiling the code