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. how do i save the image path in db and save the image in a sepertae folder

how do i save the image path in db and save the image in a sepertae folder

Scheduled Pinned Locked Moved ASP.NET
csharpdatabaseasp-netquestion
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.
  • B Offline
    B Offline
    biswa47
    wrote on last edited by
    #1

    i am developing an application with asp.net along with c#.net using sqlserver2005 as db i want to add a image in the database. maeans i want to keep the path of image to where it is saved(not from where it is updated).and want to keep the image in seperate folder with in the application name image. can you tell me what wil be code to " upload a picture in my application and then store the path name i.e where it will be saved(let say in C:\myproject\mypicture) in the db and the image in a seperate folder inside my application(let say in C:\myproject\mypicture)" plz reply soon

    A M 2 Replies Last reply
    0
    • B biswa47

      i am developing an application with asp.net along with c#.net using sqlserver2005 as db i want to add a image in the database. maeans i want to keep the path of image to where it is saved(not from where it is updated).and want to keep the image in seperate folder with in the application name image. can you tell me what wil be code to " upload a picture in my application and then store the path name i.e where it will be saved(let say in C:\myproject\mypicture) in the db and the image in a seperate folder inside my application(let say in C:\myproject\mypicture)" plz reply soon

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

      Same Question from You[^] Did u check the ans that i have provided ? if yes what are the error or if no then please check it first :) :) Thanks !!!!

      Best Regards ----------------- Abhijit Jana View My CodeProject Articles "Success is Journey it's not a destination"

      1 Reply Last reply
      0
      • B biswa47

        i am developing an application with asp.net along with c#.net using sqlserver2005 as db i want to add a image in the database. maeans i want to keep the path of image to where it is saved(not from where it is updated).and want to keep the image in seperate folder with in the application name image. can you tell me what wil be code to " upload a picture in my application and then store the path name i.e where it will be saved(let say in C:\myproject\mypicture) in the db and the image in a seperate folder inside my application(let say in C:\myproject\mypicture)" plz reply soon

        M Offline
        M Offline
        Mircea Grelus
        wrote on last edited by
        #3

        You're basically asking us to do all the work for you, which nobody will. Take it step by step. First, the upload dialog. Goggle about it. Read the tutorials you find, implement it and then, if you have any problems ask for our help. You're wasting your time trying to get us to do your work. And so would we by giving you the code. The road to knowledge begins with learning.

        Cheers, Mircea "Pay people peanuts and you get monkeys" - David Ogilvy

        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