Database Connect String for a Newbie

Discussion in 'Databases' started by JimS, Sep 25, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I need to setup my db connect string in my DB Connect.asp.

    The code is as follows.
    DIM sDSN

    sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/vsproducts.mdb")

    What should my connect string be?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    This is the connection string, you already specified it

    sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/vsproducts.mdb")

    quote:Originally posted by JimS

    I need to setup my db connect string in my DB Connect.asp.

    The code is as follows.
    DIM sDSN

    sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/vsproducts.mdb")

    What should my connect string be?
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page