Inserting image

Results 1 to 3 of 3

Thread: Inserting image

  1. #1
    Join Date
    Dec 1969

    Default Inserting image

    Hello,<BR> I have got a table in SQL SERVER and i have a field in that which is of image datatype. I don&#039t know how to insert image to that table and it is a not null field and without that i cannot proceed. can anyone tell me how to insert an image?<BR><BR>Thank you,<BR>Keerthi

  2. #2
    Dave Stuart Guest

    Default RE: Inserting image

    I think AppendChuck comes to mind! Maybe look that up un MSDN.<BR><BR>You need to iterate using AppendChunk in order to get the entire image into and out of a database.

  3. #3
    Join Date
    Dec 1969

    Default RE: Inserting image

    The way I&#039ve done it before is to put the name of the image in the DB and then when the record is called from the DB it just populates the filename.<BR><BR>Something like:<BR>&#060;img src="images/&#060;%imagename%&#062;"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts