When I access data from the root folder it is ok like
Server.MapPath ("ABC.mdb")
Please anyone tell me that how can I access the same file from the Subfolder. I have another application running in the subfolder but I want to access database on the root.
Thanks in advanceIf you server supports it you could do ../ notation. each ../ constitutes a folder level
Server.Mappath("../ABC.mdb") - 1 subfolder level
Server.Mappath("../../ABC.mdb") - 2 subfolder levels
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment