Execute asp from database result?

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?

Advertisements

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

"Hagge" <> wrote in message
news:...
> 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
>
>

Advertisements

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

"Bob Lehmann" <> wrote in message
news:...
> 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
>
> "Hagge" <> wrote in message
> news:...
> > 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
> >
> >
>
>

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!