5
Answers

What is "App.path" in C#.net ?

Ask a question
Waqas Ali

Waqas Ali

12y
3.5k
1
Hello, I'm learning ado.net in C#.
I have a  VB6 background so I wanted to ask you that if I want to change the location of my program and still access it how do i do that ?
In VB6 we used to have App.path.
What is it in C# ?

con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=F:/DVDLogger/dvdLog.accdb";

Where in my code do I put the App.path replacement for c# ? 

Answers (5)