Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Location
    India
    Posts
    56

    Unanswered: 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

  2. #2
    Join Date
    Dec 2003
    Posts
    454
    <%
    Response.Write "<td>" & countdt & "<br><a href=""view_prgdtl.asp?yr=" & yn & """>" & nm1 & "</a><br>" & nm2 & "</td>"
    %>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •