Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: how to display the question whose hyperlink has been clicked.


Message #1 by "Khalid Qureshi" <khalidone@y...> on Wed, 1 Jan 2003 14:38:05
I have a list of questions in the database. I have displayed each row  
with a hyperlink so that if somebody wants to read a specific question he 
must click the hyperlink to read that specific question. Now the problem 
is this I don't know how to display the question whose hyperlink has been 
clicked. 
Message #2 by "padmaja" <padmaja.jaganmohan@w...> on Wed, 1 Jan 2003 20:03:26 +0530
Hi,

have a unique key column for each question(ie each row in the DB) . Upon
click pass the keyvalue to the page that retrieves the question using the
keyvalue
eg: <a href="retrieve_answer.asp?kvalue=" + keyval>

where kvalue is some variable and keyval can be the value of the hidden
input control that has the respective questions key value from database.

ie : keyval = document.form1.keyvalinput.value

.
.
.
.
.

<body>
.
.
<input type=hidden name=keyvalinput value=<%=keyDBvalue%>>
.
.
</body>

-----Original Message-----
From: Khalid Qureshi [mailto:khalidone@y...]
Sent: Wednesday, January 01, 2003 2:38 PM
To: ASP Databases
Subject: [asp_databases] how to display the question whose hyperlink has
been clicked.


I have a list of questions in the database. I have displayed each row
with a hyperlink so that if somebody wants to read a specific question he
must click the hyperlink to read that specific question. Now the problem
is this I don't know how to display the question whose hyperlink has been
clicked.


Message #3 by "test" <info@s...> on Thu, 2 Jan 2003 10:41:57 +0530
I hope you must be having question answer record number.

Thanks and regards
Anand Bisht
eBusiness Application Developer - Consultant
668, 6th Main, 7th Cross, HAL 2nd Stage,
Indiranagar,  Bangalore - 560008 (India)
E-mail: info@s...
Phone: +xx xx xxxxxxx
----- Original Message -----
From: "Khalid Qureshi" <khalidone@y...>
To: "ASP Databases" <asp_databases@p...>
Sent: Wednesday, January 01, 2003 2:38 PM
Subject: [asp_databases] how to display the question whose hyperlink has
been clicked.


> I have a list of questions in the database. I have displayed each row
> with a hyperlink so that if somebody wants to read a specific question he
> must click the hyperlink to read that specific question. Now the problem
> is this I don't know how to display the question whose hyperlink has been
> clicked.

Message #4 by khalid qureshi <khalidone@y...> on Thu, 2 Jan 2003 21:55:20 -0800 (PST)
Thanks very much for your reply. You have solved my
problem.

--- padmaja <padmaja.jaganmohan@w...> wrote:
> Hi,
> 
> have a unique key column for each question(ie each
> row in the DB) . Upon
> click pass the keyvalue to the page that retrieves
> the question using the
> keyvalue
> eg: <a href="retrieve_answer.asp?kvalue=" + keyval>
> 
> where kvalue is some variable and keyval can be the
> value of the hidden
> input control that has the respective questions key
> value from database.
> 
> ie : keyval = document.form1.keyvalinput.value
> 
> .
> .
> .
> .
> .
> 
> <body>
> .
> .
> <input type=hidden name=keyvalinput
> value=<%=keyDBvalue%>>
> .
> .
> </body>
> 
> -----Original Message-----
> From: Khalid Qureshi [mailto:khalidone@y...]
> Sent: Wednesday, January 01, 2003 2:38 PM
> To: ASP Databases
> Subject: [asp_databases] how to display the question
> whose hyperlink has
> been clicked.
> 
> 
> I have a list of questions in the database. I have
> displayed each row
> with a hyperlink so that if somebody wants to read a
> specific question he
> must click the hyperlink to read that specific
> question. Now the problem
> is this I don't know how to display the question
> whose hyperlink has been
> clicked.
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

  Return to Index