Forums
This topic is locked
database connection and frames ?
Posted 23 Nov 2001 16:27:02
1
has voted
23 Nov 2001 16:27:02 Bernard Roux posted:
Hello,With too little time to learn correctly before working with UD, I don't know how to do this quite usual thing :
I have made a database about some html and pdf files, including titles, abstract, comments and the link to the file.
I want to make a page with two frames. In one of them, I want to see the html or pdf file and in the other I want to see a dynamic asp file displaying the corresponding values of the database.
The question is how to do that ?
Thanks in advance for any help about this topic,
Bernard
Replies
Replied 23 Nov 2001 20:38:33
23 Nov 2001 20:38:33 ibrahim cisse replied:
try the following link, you get the answer to your question.
www.web-savant.com/users/kathi/asp/samples/script_examples.asp
www.web-savant.com/users/kathi/asp/samples/script_examples.asp
Replied 24 Nov 2001 10:07:05
24 Nov 2001 10:07:05 Bernard Roux replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Thanks for your answer. But I didn't found the solution on this server
www.web-savant.com/users/kathi/asp/samples/script_examples.asp
May be I didn't read quite as well. Or can I explain more about my problem. When I want to use the value of a fiel to built an url, all go right in a page (after the tag <body><img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>, but anything go right in a frameset (before the tag <body><img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>.
How can I pass throught this difficultie ?
(and sorry for the poor qulity of my english)
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thanks for your answer. But I didn't found the solution on this server
www.web-savant.com/users/kathi/asp/samples/script_examples.asp
May be I didn't read quite as well. Or can I explain more about my problem. When I want to use the value of a fiel to built an url, all go right in a page (after the tag <body><img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>, but anything go right in a frameset (before the tag <body><img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>.
How can I pass throught this difficultie ?
(and sorry for the poor qulity of my english)
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 27 Nov 2001 17:07:33
27 Nov 2001 17:07:33 Bernard Roux replied:
I have the solution
1/Get two frames in a frameset page
For the source of each of them indicate the right page and mention an id
like top.asp?id=**=Request("id"**
2/ In the top page, connect to the database and mention all that you want in an html format
3/ In the bottom page, after the script for connecting, the body tag mention only this :
**Response.Redirect(name_connection.Fields.Item("URL".Value)**
(The ** replace the delimiters for code)
It's all ! By this way, you can see a pdf file in the bottom frame and all the corresponding value in an html page above.
I found the trick of redirect (classic, but I'm a beginner !) on www.robgt.com).
Thanks to all and specially iboux
1/Get two frames in a frameset page
For the source of each of them indicate the right page and mention an id
like top.asp?id=**=Request("id"**
2/ In the top page, connect to the database and mention all that you want in an html format
3/ In the bottom page, after the script for connecting, the body tag mention only this :
**Response.Redirect(name_connection.Fields.Item("URL".Value)**
(The ** replace the delimiters for code)
It's all ! By this way, you can see a pdf file in the bottom frame and all the corresponding value in an html page above.
I found the trick of redirect (classic, but I'm a beginner !) on www.robgt.com).
Thanks to all and specially iboux