I have a line of code that builds the connection string to an Access database.
private static string ConnectionString =
@"Provider=Microsoft.Jet.OLEDB.4.0;" +
@"Data source= C:\Documents and Settings\username\My Documents\AccessFile.mdb";
How can I use any of these bits of code: Path.GetDirectoryName() or System.Environment.CurrentDirectory?
System.IO.Path.GetDirectoryName(System.Environment.CurrentDirectory)