SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot praveen's Avatar
    Join Date
    Apr 2001
    Location
    Bahrain
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Which slash to use in Asp path

    Hi,
    i am confused about using thh slashes in asp. Some of my friends told me to use forward slash while others backward.
    I want to know which slash / or \ will be used for connecting to a msaccess db.
    for eg in adodb.connection object we are giving the db path E:\folder\www\db.mdb is this correct or i have to use E:/folder/www/db.mdb? or
    E:\\folder\\www\\db.mdb?
    please help

  2. #2
    SitePoint Evangelist Umair.ms's Avatar
    Join Date
    Sep 2000
    Location
    Lahore, Pakistan
    Posts
    567
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use /. But I think that Server.MapPath converts both type of slashes to the appropriate ones.
    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion.
    Interact and Share your Views with People around the Globe.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •