GIF file from database

Results 1 to 3 of 3

Thread: GIF file from database

  1. #1
    Join Date
    Dec 1969

    Default GIF file from database

    I&#039;m trying to bring in a GIF file from a database and put it on the screen. I keep getting a type mismatch. Can someone tell me how to do this without an error?<BR>My code is:<BR>&#060;%<BR>sql="SELECT Sample FROM Labels WHERE Labels.Format = &#039;"&format&"&#039;"<BR>sql=recSet("Sample")<BR >response.write ""&sql&""<BR>%&#062;

  2. #2

    Default RE: GIF file from database

    hi,<BR><BR>you shouldnt store gif&#039;s in databases as they incur overhead. Instead, store gifs on disk in a /images folder, and store the path name to the gif in your database. <BR><BR>However, your ASP syntax is wrong. Try:<BR><BR>response.binaryWrite(yourSQLvalue)<BR> <BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: GIF file from database

    This article may help....<BR>

Posting Permissions

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