Results 1 to 2 of 2

Thread: Inserting Photo/image from VB to SQL server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Posts
    14

    Exclamation

    hi friends,

    i am using VB as a front end and SQL server as a backend.

    i want to know how to insert photo/image of an employee entry form into sql Server database(table).

    and after inserting successfully all employee details , when i search on EMP_ID how to display particualr employees photo/image from database.

    thanks in advance
    bye

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Image data types usually represent GIF's or JPEGs. Image values inserted into a table must be prefixed with 0x in an insert statement, Image data types cannot be an odd number of bytes (if the size is > 255 bytes)and will pad a 0 on if it is. You cannot reference an image field in a where statement, it cannot be part of an index cannot be used in ORDER BY, COMPUTE or GROUP BY statements and cannot be used as a local variable.

    And I always wondered why I never used them ....

Posting Permissions

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



Click Here to Expand Forum to Full Width