Display images stored in DB

Discussion in 'ASP.NET / ASP.NET Core' started by aspq, May 8, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,
    Is there any way of displaying images stored in the database by using repeater cotrol?
    using:
    <%# DataBinder.Eval(Container.DataItem, "logo_image") %>
    All I get is:
    System Byte[]

    I can display images using:
    Response.ContentType = myDataReader.Item("logo_Itype")
    Response.BinaryWrite(myDataReader.Item("logo_image"))
    but then the page doesn't produce any result other than image!
    Thanks
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page