Absolute path of uploaded database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hussaini
    New Member
    • Dec 2006
    • 24

    Absolute path of uploaded database

    my question is simple when we make any ASP page connecting any database the path of database where the database in the directory like "e:\mydatabase\ abc.mdb" so i want to ask you to all the if i would upload the dataabase i want to use this database in parent so what should i give it please tel me
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Originally posted by hussaini
    My question is simple. When we make an ASP page which connects to a database the "path" of the database is where the database is in the directory. It looks something like "e:\mydatabase\ abc.mdb"

    I want to ask, if I upload the database i want to use it in a parent directory, so how should I refer to it?
    try
    Code:
    server.mapPath("/abc.mdb")
    Let me know if this helps.

    Jared

    Comment

    • hussaini
      New Member
      • Dec 2006
      • 24

      #3
      Originally posted by jhardman
      try
      Code:
      server.mapPath("/abc.mdb")
      Let me know if this helps.

      Jared
      thanx alot for replying me

      Comment

      Working...