carsRST
asked on
C# Accessing a network path
I have a database network path stored in an app config file. But I'm having an issue once this path is put to a variable. If not in a variable, it works fine.
This works:
@"\\10.252.5.44\pc2fin\... \dealer.md b"
But, once in a variable, this does not work:
@databasePath
I've tried adding the extra slashes in the app config file but that doesn't work either.
This works:
@"\\10.252.5.44\pc2fin\...
But, once in a variable, this does not work:
@databasePath
I've tried adding the extra slashes in the app config file but that doesn't work either.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER