 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guillermo Díaz Guest
|
Posted: Sun Nov 26, 2006 6:55 pm Post subject: TdataSetAdapterImageField against Interbase. |
|
|
Hi!
I'm developed a web app with WebSnap (BDS2006/C++). I have stored data into
VARCHAR field and a image (jpg) into a blob field (Interbase 7.5).
I have TDataSetAdapter and TadapterPageProducer into a WebSnap Page Module.
TdataSetAdapterField for strings and TdataSetAdapterImageField for image.
In WebSnap Data Module is TIBDatabase, TIBTransaction and TIBQuery.
And I get a Web Page with strings data Ok. But [x (BLOB)] instead of my
image.
The code of my html file is:
<% if (vADtStAfiliado_MYPHOTO.Visible)
{ %>
<tr>
<td>My Photo</td>
<td ><img
src="<%=(vADtStAfiliado_MYPHOTO.Image!=null)?vADtStAfiliado_MYPHOTO.Image.AsHREF:''%>"
alt="<%=vADtStAfiliado_MYPHOTO.DisplayText%>"></td>
</tr>
<% } %>
Can anybody tell me why it happen?
Thanks in advance for any help.
Guillermo. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|