I am using the following for my connection string that works successfully:
const string CONNECTION_STRING = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\calc;Extended Properties=""text;HDR=YES;"";";
I would like to replace the path in the Data Source to the return path I am able to return correctly from the xml config file. I have been unable so far to properly format the connection string to do this without errors.
const string CONNECTION_STRING = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\calc;Extended Properties=""text;HDR=YES;"";";
I would like to replace the path in the Data Source to the return path I am able to return correctly from the xml config file. I have been unable so far to properly format the connection string to do this without errors.