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. Web Development
  3. ASP.NET
  4. how to save image in sql server using asp.net with c#

how to save image in sql server using asp.net with c#

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serversysadmin
6 Posts 5 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.
  • D Offline
    D Offline
    developerit
    wrote on last edited by
    #1

    hi iam having fields int the table branchid nvarchar(50) primary key, branchname nvarchar(50), city nvarchar(50), area nvarchar(50), phoneno nvarchar(25), mobileno nvarchar(25), photo image (16) how to store the image in sql server using asp.net with c# and how to display and delete, update from gridview

    V B S A 4 Replies Last reply
    0
    • D developerit

      hi iam having fields int the table branchid nvarchar(50) primary key, branchname nvarchar(50), city nvarchar(50), area nvarchar(50), phoneno nvarchar(25), mobileno nvarchar(25), photo image (16) how to store the image in sql server using asp.net with c# and how to display and delete, update from gridview

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      look at this http://www.codeproject.com/KB/database/Store\_images\_in\_SQL\_Serve.aspx

      Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

      1 Reply Last reply
      0
      • D developerit

        hi iam having fields int the table branchid nvarchar(50) primary key, branchname nvarchar(50), city nvarchar(50), area nvarchar(50), phoneno nvarchar(25), mobileno nvarchar(25), photo image (16) how to store the image in sql server using asp.net with c# and how to display and delete, update from gridview

        B Offline
        B Offline
        Brij
        wrote on last edited by
        #3

        There are tow ways to stroe the images. One way,save the image in local hard disk and save the path of the image in database. else, Save the image in byte array format in database but this makes the database heavy. Have a loook to this Link

        Cheers!! Brij

        1 Reply Last reply
        0
        • D developerit

          hi iam having fields int the table branchid nvarchar(50) primary key, branchname nvarchar(50), city nvarchar(50), area nvarchar(50), phoneno nvarchar(25), mobileno nvarchar(25), photo image (16) how to store the image in sql server using asp.net with c# and how to display and delete, update from gridview

          S Offline
          S Offline
          sashidhar
          wrote on last edited by
          #4

          Here is the google search..! Saving and retriving image from sql server[^]

          LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

          D 1 Reply Last reply
          0
          • S sashidhar

            Here is the google search..! Saving and retriving image from sql server[^]

            LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

            D Offline
            D Offline
            developerit
            wrote on last edited by
            #5

            it really helps me to get an idea of storing the image into database.thanks fo code project team.

            1 Reply Last reply
            0
            • D developerit

              hi iam having fields int the table branchid nvarchar(50) primary key, branchname nvarchar(50), city nvarchar(50), area nvarchar(50), phoneno nvarchar(25), mobileno nvarchar(25), photo image (16) how to store the image in sql server using asp.net with c# and how to display and delete, update from gridview

              A Offline
              A Offline
              awadhendra tiwari
              wrote on last edited by
              #6

              Please take a look at following link. This is a small useful blog which describe that how to insert image in database using c#. http://www.mindstick.com/Blog/184/Save image in SqlServer using C This might be useful for you. Thanks.

              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