How do I create a relative connection a database in VB.net? I want the connection string to always look in the current folder for the database. In ASP.net I use the server.mappath() function to get the current directory. Is there a VB.net equivalent of this? Thanks.
Question
jonbob
How do I create a relative connection a database in VB.net? I want the connection string to always look in the current folder for the database. In ASP.net I use the server.mappath() function to get the current directory. Is there a VB.net equivalent of this? Thanks.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts