Show image on ASP from a GetData - WeOnlyDo Discussion board

Show image on ASP from a GetData (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Jose Roberto Fonseca, Wednesday, July 23, 2008, 05:42 (5968 days ago)

Hello guys,

I need to show a image on ASP pages from a GetData result. Any sample, plz?

Code:

SQL = SELECT IMAGE_NAME FROM TABLE WHERE IMAGE_ID = XXX
Set oRs = conn.Execute(SQL)
if NOT (oRs.EOF AND oRs.BOF) then
Name= oRs( IMAGE_NAME )

objConn.GetData Cstr(Name)
Response.BinaryWrite objConn.ListItem


Complete thread: