adding images dynamically

Results 1 to 2 of 2

Thread: adding images dynamically

  1. #1
    Join Date
    Dec 1969

    Default adding images dynamically

    hi <BR>i just want to know that is it possible in asp to add images dynamically.what i want to do is first i will go to database and on the basis of count(which can be known at runtime only) i want to add that much image.<BR>The way by which i tried is giving error<BR><BR>resonse.write("&#060;img src="c:inetpubwwwrootdisscusionforam1link.jpg" width="190" height="15"&#062;")<BR>can anyone debug my code or suggest me another way<BR>thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: adding images dynamically

    Next time please post your error, but this time I think it was "Unterminated string constant", try this:<BR><BR>response.write ("&#060;img src=""c:inetpubwwwrootdisscusionforam1link.jpg"" width=""190"" height=""15""&#062;")<BR><BR>Notice the double quotes!

Posting Permissions

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