Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~639 People Reached
Favorite Forums
Favorite Tags
asp x 5
Member Avatar for chris3000

All i wanna do is simple, I wanna display an image from an access database. I try alot of things to no result. Like ascii code or nothing but a blank image with a red 'X'. [B]Here is the code :[/B] [code] <% set conn=server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.jet.oledb.4.0" conn.Open(server.MapPath("test1.mdb")) set rs= conn.Execute("SELECT …

Member Avatar for Derice
0
502
Member Avatar for masa

Hi everyone How can I embeded an image to OLE Object field using Long Binary data. and what Long Binary data means and how to use it. does anyone have any ideas on I would to display images in my asp page. I am trying to insert the images in …

Member Avatar for katarey
0
72
Member Avatar for chris3000

[B]Hi :) I would expect to see an image from the database with that code:[/B] <% set conn=server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.jet.OLEDB.4.0" conn.Open "F:/projet/test1.mdb" set rs= conn.Execute("SELECT photo FROM photos where ID=1") Response.ContentType="image/jpg" Response.BinaryWrite(rs("photo")) conn.Close %> [B]or [/B] with dsn(data source name) link in contral panel <% Set conn = Server.CreateObject("ADODB.Connection") conn.open "WinConnection" …

0
65