Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Help with hyperlink

    Hi
    I query the db and populate the results into table. After that I want to
    keep query db but I need to get value from the table. Basically I need some
    of the fields to be like hyper link and use this value like parameter in my
    next query.
    Is there a way to do this?
    THX


    viktor Guest

  2. Similar Questions and Discussions

    1. hyperlink
      In my older version of publisher I could just make a link to the pdf file on my hard drive, and when I uploaded it to my ftp site the link would...
    2. No hyperlink
      The help function directs my to go to "insert" and choose "hyperlink" . These items do not exist on the tool bar, anywhere. Whats going on? Am I...
    3. asp:hyperlink
      Does anyone know when you NEED to use asp:HyperLink versus a regular Href? An example would be greatly appreciated.
    4. hyperlink bug?!
      Hi There, Director seems to have a problem return dynamic hyperlinks such as the following: ...
    5. Dynamically Hyperlink and Event Handler for the Hyperlink ?
      Hi, I´m creating an Hyperlink dynamically for my DataGrid: HyperLink hl = new HyperLink(); hl.Text = "MyLink"; hl.NavigateUrl = "#";...
  3. #2

    Default Re: Help with hyperlink

    <a href="page2.asp?ID=<%=Server.URLEncode(objRS("some Field"))%>">click
    here</a>

    Cheers
    Ken


    "viktor" <serguienkov@hotmail.com> wrote in message
    news:e115YnClDHA.2416@TK2MSFTNGP10.phx.gbl...
    : Hi
    : I query the db and populate the results into table. After that I want to
    : keep query db but I need to get value from the table. Basically I need
    some
    : of the fields to be like hyper link and use this value like parameter in
    my
    : next query.
    : Is there a way to do this?
    : THX
    :
    :


    Ken Schaefer Guest

  4. #3

    Default Re: Help with hyperlink

    thanks
    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    news:uuOnytFlDHA.1408@TK2MSFTNGP11.phx.gbl...
    > <a href="page2.asp?ID=<%=Server.URLEncode(objRS("some Field"))%>">click
    > here</a>
    >
    > Cheers
    > Ken
    >
    >
    > "viktor" <serguienkov@hotmail.com> wrote in message
    > news:e115YnClDHA.2416@TK2MSFTNGP10.phx.gbl...
    > : Hi
    > : I query the db and populate the results into table. After that I want to
    > : keep query db but I need to get value from the table. Basically I need
    > some
    > : of the fields to be like hyper link and use this value like parameter in
    > my
    > : next query.
    > : Is there a way to do this?
    > : THX
    > :
    > :
    >
    >

    viktor Guest

  5. #4

    Default Re: Help with hyperlink

    ok but how can i make my table field to be hyperlink and use this value for
    parameter
    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    news:uuOnytFlDHA.1408@TK2MSFTNGP11.phx.gbl...
    > <a href="page2.asp?ID=<%=Server.URLEncode(objRS("some Field"))%>">click
    > here</a>
    >
    > Cheers
    > Ken
    >
    >
    > "viktor" <serguienkov@hotmail.com> wrote in message
    > news:e115YnClDHA.2416@TK2MSFTNGP10.phx.gbl...
    > : Hi
    > : I query the db and populate the results into table. After that I want to
    > : keep query db but I need to get value from the table. Basically I need
    > some
    > : of the fields to be like hyper link and use this value like parameter in
    > my
    > : next query.
    > : Is there a way to do this?
    > : THX
    > :
    > :
    >
    >

    viktor Guest

  6. #5

    Default Re: Help with hyperlink

    Your table field is not a hyperlink. A hyperlink is created by generating
    the appropriate HTML, eg:

    <a href="theNextPage.ext?var=value">click</a>

    the href="" bit is the page that the link goes to
    the ?var=value bit is dynamic data you wish to pass to the next page
    the "click" is the text that is displayed

    If you want to generate the links based on the values in the database, then
    you can do:

    <a href="<%=objRS("myField")%>">click</a>

    This is rudimentary HTML (not ASP related) - all you need to do is generated
    the appropriate HTML markup for the browser to understand.

    Cheers
    Ken


    "viktor" <serguienkov@hotmail.com> wrote in message
    news:%23tLYYYLlDHA.2328@TK2MSFTNGP10.phx.gbl...
    : ok but how can i make my table field to be hyperlink and use this value
    for
    : parameter
    : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    : news:uuOnytFlDHA.1408@TK2MSFTNGP11.phx.gbl...
    : > <a href="page2.asp?ID=<%=Server.URLEncode(objRS("some Field"))%>">click
    : > here</a>
    : >
    : > Cheers
    : > Ken
    : >
    : >
    : > "viktor" <serguienkov@hotmail.com> wrote in message
    : > news:e115YnClDHA.2416@TK2MSFTNGP10.phx.gbl...
    : > : Hi
    : > : I query the db and populate the results into table. After that I want
    to
    : > : keep query db but I need to get value from the table. Basically I need
    : > some
    : > : of the fields to be like hyper link and use this value like parameter
    in
    : > my
    : > : next query.
    : > : Is there a way to do this?
    : > : THX
    : > :
    : > :
    : >
    : >
    :
    :


    Ken Schaefer Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139