Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2004

    Unanswered: help with hyperlink in ASP

    Dear All,
    I cannot use the hyperlink in asp successful even though i can create it in asp
    by the code
    Response.Write"<a href=c:\123.txt>display</a>"
    but when i press display, no result showed.

    By the way, how to call notepad program to open 123.txt(in this case) if the window cannot open it automatically? Thank you.

  2. #2
    Join Date
    Jun 2003
    For a regular link perhaps do (and I believe that .txt files should open in most browsers):

    Response.Write"<a href='123.txt'>display</a>"

    Or (with no ASP needed):

    <a href="123.txt">display</a>
    J. Paul Schmidt, Freelance Web and Database Developer
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

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