Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Insert image into database

Insert image into database

Scheduled Pinned Locked Moved Visual Basic
databasecsharphelp
4 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pradipta
    wrote on last edited by
    #1

    I have a picturebox control i want to save the image of the picturebox into sqlserver database ,how is it possible using insert query in VB.NET.please help me with code

    D W 2 Replies Last reply
    0
    • P pradipta

      I have a picturebox control i want to save the image of the picturebox into sqlserver database ,how is it possible using insert query in VB.NET.please help me with code

      D Offline
      D Offline
      DxSolo
      wrote on last edited by
      #2

      you can just store the image path in the database and then use the load picture function and use the path stored in the database if you dont know these functions i know i have the code somewhere i would have to find my .net version but i know exactly where my vb6 version is so let me know if you need further help

      1 Reply Last reply
      0
      • P pradipta

        I have a picturebox control i want to save the image of the picturebox into sqlserver database ,how is it possible using insert query in VB.NET.please help me with code

        W Offline
        W Offline
        Wayne Phipps
        wrote on last edited by
        #3

        There is a MSDN article on doing just what you ask: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_ReadandWriteImagesfromaDatabase.asp There is a sample sourcecode with the article. Hope this helps Regards Wayne Phipps

        P 1 Reply Last reply
        0
        • W Wayne Phipps

          There is a MSDN article on doing just what you ask: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_ReadandWriteImagesfromaDatabase.asp There is a sample sourcecode with the article. Hope this helps Regards Wayne Phipps

          P Offline
          P Offline
          pradipta
          wrote on last edited by
          #4

          Thanx a lot Thats what i was needed

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups