How to retrieve and display Image from database
-
Hi, this is probably ASP 001 lession, but for me it is new. Let say I have a table named: table1(ArticleTitle, ArticleContent, Image) How do I retrieve and display the image along with the ArticleTitle, ArticleContent? I can display the ArticleTitle and ArticleContent, but failed to display the image. Could someone please show me the neccessary controls and function that does this. This is link to my page: http://nangmoi.com/baiviet1.aspx?ID=14, I want a picture displayed next to this sample article. The picture is stored in the SQL Server database as type image. Thank you! haiao2000@yahoo.com Hai
-
Hi, this is probably ASP 001 lession, but for me it is new. Let say I have a table named: table1(ArticleTitle, ArticleContent, Image) How do I retrieve and display the image along with the ArticleTitle, ArticleContent? I can display the ArticleTitle and ArticleContent, but failed to display the image. Could someone please show me the neccessary controls and function that does this. This is link to my page: http://nangmoi.com/baiviet1.aspx?ID=14, I want a picture displayed next to this sample article. The picture is stored in the SQL Server database as type image. Thank you! haiao2000@yahoo.com Hai
-
hi, try this http://dotnetjunkies.com/WebLog/abraham.mathew/articles/39751.aspx[^] bye timcyspet
I did try code in that link and several of them but no luck. the picture didn't show up on the page. it shows missing picture. I look its properties. it shows the .aspx file url. I suspect that the problem is from how I inserted images into SQL database. How I inserted images into database? I drag and drop the images directly into the database image fields, which has been desired for image type. could that be the problem ? (I use SQL MSDE2000 database with MS Access XP GUI) what happen? Hai