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 Store File Path In Access Databse in ASP.net using C#

How To Store File Path In Access Databse in ASP.net using C#

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelptutorial
4 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.
  • A Offline
    A Offline
    aashish saalvi
    wrote on last edited by
    #1

    i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.

    V F R 3 Replies Last reply
    0
    • A aashish saalvi

      i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.

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

      urgent is a very Strong word, you mostly use it when tell someone that works for you, but unfortunately we dont work for you. Stop using such words in then Forum. In your Question you have this i am developing an application in aSP.net using C#, in which i want to store the files path into access database I wanted to Answer you , but when i saw this again then i want to open this file when user clicks on the particular link You consused me there. Well i dont know what you are doing but you can save the File path in the Access database like any other record but by keeping in mind that it can be long text. but mybe you can explin clearly what you want to achieve. Thank you

      Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

      1 Reply Last reply
      0
      • A aashish saalvi

        i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.

        F Offline
        F Offline
        farogh haider
        wrote on last edited by
        #3

        Hi, First you should increase your data type length bcoz file path may be very lenthy and then u bind file like other field, and check ur file is having correct path with file name when it is inserted.

        1 Reply Last reply
        0
        • A aashish saalvi

          i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.

          R Offline
          R Offline
          rakeshs312
          wrote on last edited by
          #4

          As u said, when user click on the link it wont open,remember only the path is there in database .U must store the file in database,then only it will happen. And if u r storing the full path,then it is easy to get the path as cell value.Then u can open it.Make that field in gridview a template and try

          modified on Friday, February 20, 2009 5:59 AM

          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