Execute asp from database result?

H

Hagge

Hi,
I'm working on a application where I've created a couple of Sub routines I
call them from my ASP page.
But I would love to put the hole HTML including my "call showOffers" in my
database and when I get the result set do I want to execute the "call
showOffer". Is this possible?
If it's how is it possible?

// Hagge
 
B

Bob Lehmann

I'm pretty sure you can't generate server code from a DB and then execute
it.

Why do you want to keep all of your HTML in the DB anyway? Sounds like a
royal pain to maintain.

Bob Lehmann
 
H

Hagge

Its not all HTML.
I parsing the design, it's only the content for the page I like to store in
the database.
Since I will let the content provider to easy add in prebuilt functions do I
want to execute asp from the recordset.
But I will do a work around. I put my subs and functions in tags. Then the
HTMLTemplate parser take care and execute the tags. Like {showOffers} will
list all offers.

// Hagge
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top