How to use this function ? u have example code ? We are reading image from database with recordset. Thank you for all.
Come usare questa funzione? siete avere codice di esempio? Siamo immagine della lettura da base di dati con recordset. Grazie per tutti.
SetBlob & GetBlob
Moderators: helmut, XnTriq, xnview
SetBlob & GetBlob
Emrah Incioglu
Re: SetBlob & GetBlob
You must provide to GetBlob a byte arrayeincioglu wrote:How to use this function ? u have example code ? We are reading image from database with recordset. Thank you for all.
Pierre.
My code is ,
<!--#include file="library/goruntu_al.asp"-->
<%
Set ctrl = server.createobject("GflAx.GflAx")
resim = goruntu_al ("elekarsiv.enc","header","frontpage"," refno ='T05K9NF07006CS'")
response.ContentType ="image/tiff"
With ctrl
.GetBlob (resim)
Response.BinaryWrite .SetBlob()
end with
set ctrl=nothing
%>
Image is blank(black) view . Can u help me ?
<!--#include file="library/goruntu_al.asp"-->
<%
Set ctrl = server.createobject("GflAx.GflAx")
resim = goruntu_al ("elekarsiv.enc","header","frontpage"," refno ='T05K9NF07006CS'")
response.ContentType ="image/tiff"
With ctrl
.GetBlob (resim)
Response.BinaryWrite .SetBlob()
end with
set ctrl=nothing
%>
Image is blank(black) view . Can u help me ?
Emrah Incioglu
I don't know goruntu, do you know the type of the object returned?eincioglu wrote:My code is ,
<!--#include file="library/goruntu_al.asp"-->
<%
Set ctrl = server.createobject("GflAx.GflAx")
resim = goruntu_al ("elekarsiv.enc","header","frontpage"," refno ='T05K9NF07006CS'")
response.ContentType ="image/tiff"
With ctrl
.GetBlob (resim)
Response.BinaryWrite .SetBlob()
end with
set ctrl=nothing
%>
Image is blank(black) view . Can u help me ?
Pierre.