BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TdataSetAdapterImageField against Interbase.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Guillermo Díaz
Guest





PostPosted: Sun Nov 26, 2006 6:55 pm    Post subject: TdataSetAdapterImageField against Interbase. Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.