connection string to another server(not an sql database)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • user1980
    New Member
    • Dec 2009
    • 112

    connection string to another server(not an sql database)

    I would like to access an excel file form an asp page. I am using the connection string as,

    Code:
    sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""c:\Test\Modified.xls"";Extended Properties=""Excel 8.0;HDR=NO;IMEX=1"""
    I would like to know how can I put the server name, user name and password and how.....
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    I think I would use a dsn for this. Have you ever set up a dsn before?

    Jared

    Comment

    • user1980
      New Member
      • Dec 2009
      • 112

      #3
      thank you for the response..I have never set up DSN....could you please let me know where can I find a good tutorial for that..thanks in advance

      Comment

      Working...