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. display a image

display a image

Scheduled Pinned Locked Moved ASP.NET
databasesql-serversysadminhelptutorial
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.
  • J Offline
    J Offline
    jai 123
    wrote on last edited by
    #1

    hi, i want to display a image in a webpage,by saving the image path in the sql server 2000. i dont know how to do.please help me

    jai prakash

    C C 2 Replies Last reply
    0
    • J jai 123

      hi, i want to display a image in a webpage,by saving the image path in the sql server 2000. i dont know how to do.please help me

      jai prakash

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Please don't ask the same question over and over. If you don't know enough about web pages to know what an img tag is, or indeed the ASP.NET equivelant control, then you should stop working, buy a book and work through it. Or you could try responding to advice by looking for keywords to type into google

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • J jai 123

        hi, i want to display a image in a webpage,by saving the image path in the sql server 2000. i dont know how to do.please help me

        jai prakash

        C Offline
        C Offline
        ChrisFarrugia
        wrote on last edited by
        #3

        This is a truly beginner question. It is the abc of web development. well all you need is to save the path in the sql database. using the insert statement. You can do this either by a direct sql statement or by using a stored procedure. all sql commans are available in the Sqlclient namspace. Then all it takes is to read the stored url from the database and put it as the imageurl of either an image tag (html) or an imageplaceholder tag (asp.net) I suggest that you get a good book in order to get this basic information. Should you need any help contact me. Chris

        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