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. image path in web.config

image path in web.config

Scheduled Pinned Locked Moved ASP.NET
databasehelptutorial
6 Posts 4 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.
  • T Offline
    T Offline
    test 09
    wrote on last edited by
    #1

    hi all, how to save path of images in web.config.. i uploded images saved the filename of images in db. and images to folder.. im trying to bind the images in image control in repeater.. help me...

    //the path is
    Image1.ImageUrl="~test/cric.gif"
    //cric.gif must be retreved from db...

    N J S 3 Replies Last reply
    0
    • T test 09

      hi all, how to save path of images in web.config.. i uploded images saved the filename of images in db. and images to folder.. im trying to bind the images in image control in repeater.. help me...

      //the path is
      Image1.ImageUrl="~test/cric.gif"
      //cric.gif must be retreved from db...

      J Offline
      J Offline
      jayantbramhankar
      wrote on last edited by
      #2

      add slash(/) between Tild(~) and folder name it should be like..

      Image1.ImageUrl="~/test/cric.gif"

      1 Reply Last reply
      0
      • T test 09

        hi all, how to save path of images in web.config.. i uploded images saved the filename of images in db. and images to folder.. im trying to bind the images in image control in repeater.. help me...

        //the path is
        Image1.ImageUrl="~test/cric.gif"
        //cric.gif must be retreved from db...

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        So what does this have to do with the web.config?? Image1.ImageUrl="~**/**test/cric.gif"


        I know the language. I've read a book. - _Madmatt

        1 Reply Last reply
        0
        • T test 09

          hi all, how to save path of images in web.config.. i uploded images saved the filename of images in db. and images to folder.. im trying to bind the images in image control in repeater.. help me...

          //the path is
          Image1.ImageUrl="~test/cric.gif"
          //cric.gif must be retreved from db...

          S Offline
          S Offline
          Sandeep Mewara
          wrote on last edited by
          #4

          Though putting a forward slash between the tilda and test would make the url syntax correct...

          Image1.ImageUrl="~/test/cric.gif"

          how does this total path of Image is related to retrieval of this image from database? and also Web.config?

          N 1 Reply Last reply
          0
          • S Sandeep Mewara

            Though putting a forward slash between the tilda and test would make the url syntax correct...

            Image1.ImageUrl="~/test/cric.gif"

            how does this total path of Image is related to retrieval of this image from database? and also Web.config?

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            The same responses were given over 30 minutes before. How is your response relevant and useful? :rolleyes:


            I know the language. I've read a book. - _Madmatt

            S 1 Reply Last reply
            0
            • N Not Active

              The same responses were given over 30 minutes before. How is your response relevant and useful? :rolleyes:


              I know the language. I've read a book. - _Madmatt

              S Offline
              S Offline
              Sandeep Mewara
              wrote on last edited by
              #6

              It might had happened that i opened it for reply... went for some work in between and came back an posted it? Is this fine with you? Hope i won't be punished for that! :doh:

              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