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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Could you help me in ASP.Net.

Could you help me in ASP.Net.

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-nethelptutorial
3 Posts 3 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.
  • A Offline
    A Offline
    abglorie
    wrote on last edited by
    #1

    Sorry for the distrubing. Please give your answer. Now, I want store a picture in database. Later retrieve the picture from database and show in a page. 1. Which type of datatype to create in SQL? and 2. How to retrieve from (picture) data and display on IE. Please give exact coding. Thanking you, abglorie

    S A 2 Replies Last reply
    0
    • A abglorie

      Sorry for the distrubing. Please give your answer. Now, I want store a picture in database. Later retrieve the picture from database and show in a page. 1. Which type of datatype to create in SQL? and 2. How to retrieve from (picture) data and display on IE. Please give exact coding. Thanking you, abglorie

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

      It Is Easy To Store And Retrive the image From Database 1)The DataType In sqlServer Is [image] 2) -->First Store the image in byte format -->Retrieve the Bytes And Conver the Byte In buffer Stream -->And Display the image in image Control To Understand More Clearly You Can Refer the Following Article With Example http://www.beansoftware.com/asp.net-tutorials/images-database.aspx[^] http://www.dotnetcurry.com/ShowArticle.aspx?ID=129[^] Storing and Retrieving Images from SQL Server using Microsoft .NET[^] http://www.dotnetspider.com/resources/460-Store-Retrieve-SQL-Server-database.aspx[^] If the Above Is Helpful Mark It As Answer And let Me Know

      modified on Monday, August 31, 2009 7:49 AM

      1 Reply Last reply
      0
      • A abglorie

        Sorry for the distrubing. Please give your answer. Now, I want store a picture in database. Later retrieve the picture from database and show in a page. 1. Which type of datatype to create in SQL? and 2. How to retrieve from (picture) data and display on IE. Please give exact coding. Thanking you, abglorie

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        I am agree what sashidhar suggested, You can do one more thing, rather than sotring image in DB in byte format, store image in your hard drive and store the path in Database. Retreive the path from database, and display the image from your hard drive. This will make your task simple.

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        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