Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP General
Passing Recordset from an ASP page to another HTML page ?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Mark J. McGinty, post: 4366782"] [comments posted inline] Of course not, you haven't created a recordset object on the client side, there is nothing there for the client to see. [snip] How do you figure? Every single access to the recordset object is inside of <% %>. The only thing the client can see is the output generated on thge server side. (See further comments inline.) [snip] [snip] Just because this is in the client script block, does not make rs visible to the client. The parts inside of <% %> run at the server. If you want to create a recordset object on the client side, you need to send the XML down to the client side, as part of the web page, like so: [server side code] rs.Save Response [javascript client side code] var rs = new ActiveXObject("ADODB.Recordset"); rs.Open(document.all.tags("XML")[0]); Obviously if you have more than one XML element you'll have to manage them in some way. -Mark [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP General
Passing Recordset from an ASP page to another HTML page ?
Top