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. How we Save Image in DataBase

How we Save Image in DataBase

Scheduled Pinned Locked Moved Visual Basic
databasecsharpsql-serversysadmin
2 Posts 2 Posters 0 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.
  • F Offline
    F Offline
    faravani
    wrote on last edited by
    #1

    Hi For all How we save image in table in sql server by vb.net code? please guid me thanks for all

    T 1 Reply Last reply
    0
    • F faravani

      Hi For all How we save image in table in sql server by vb.net code? please guid me thanks for all

      T Offline
      T Offline
      Tom Deketelaere
      wrote on last edited by
      #2

      Saving the image in your database isn't recommended. It will only make the database grow fast. Better way would be to save the path to the image. If you have a multi-user environment (with network) you'll best copy the image to a network share and save the network share path in the database. Be sure to use the correct name of the network share, so: '\\servername\sharename\...' and NOT 'Z:\' In the last case Z: is a network drive pointing to: '\\servername\sharename\' If you use that ALL your users need to have the same Z: pointing tot the sharename and it can never change, so using the full path (\\servername\sharenama\...') is safer. If you would still like to actually store the image in the database, google gives you plenty of help: goolge your friend[^]

      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