CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Posts
    16

    Storing images into access database along with page per records

    i m developing website using asp.net with microsoft access 2003
    i have product details along with the images now i want to add this images into database but how i add this pictures what code is use if there are 100 products with 100 images i want to show 10 records per page i need also code of that

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Storing images into access database along with page per records

    Have a look into BLOBs ( Binary Large Objects ) and ASP.NET.

    Basically, you'd have to use a StreamReader to read the contents of each image into a byte array, then, store that ( in memory ), once that is done, you could use the Insert Into SQL statement to store that object into your table.

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

Featured