Image retrieving

Retrive an image to grid view

Page 1 of 1

1 Replies - 968 Views - Last Post: 13 November 2010 - 07:19 AM Rate Topic: -----

#1 NavilShah  Icon User is offline

  • D.I.C Head

Reputation: 6
  • View blog
  • Posts: 50
  • Joined: 02-November 10

Image retrieving

Posted 13 November 2010 - 05:10 AM

Hello....
I have some errors in retrieving image from my sql database

in the image field the value is shown as <binary data>

can i retrieve the image in this format....
If yes than how....???

Please help....
Is This A Good Question/Topic? 0
  • +

Replies To: Image retrieving

#2 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,957
  • Joined: 21-March 08

Re: Image retrieving

Posted 13 November 2010 - 07:19 AM

You need to convert that data to a byte array, then convert that byte array to an image.

http://www.dreaminco...es-in-database/

In this tutorial, FlashM shows how to save and retrieve an image from a SQL database.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1