If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > How to pass variables value through the link in ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-04, 10:23
graceson graceson is offline
Registered User
 
Join Date: Mar 2004
Location: India
Posts: 56
How to pass variables value through the link in ASP

Dear Friends,

I was trying to pass the value in the variable "yn". I am using following command.This link i need in a column of the current table . There is no error i getting ,but value passed through the 'yn' is blank.

Can you help me in this issue ,in which way i shold pass the 'yn'. When i am using the code <%=yn%>, then it gives some error.

Following is the code,

Response.Write "<td>"& countdt &"<br><a href=""view_prgdtl.asp?yr=""&yn"">" & nm1 & "</a> <br> "& nm2 &"</td>"

Thank you

Graceson
Reply With Quote
  #2 (permalink)  
Old 07-22-04, 10:38
gyuan gyuan is offline
Registered User
 
Join Date: Dec 2003
Posts: 454
<%
Response.Write "<td>" & countdt & "<br><a href=""view_prgdtl.asp?yr=" & yn & """>" & nm1 & "</a><br>" & nm2 & "</td>"
%>
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On