I have a datasource set up to work hard coded for the path and I would like to have it set up dynamically to the application.startuppath When I set the path to a variable I get the error:
'variable_name' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
My connection string code is as follows for the datasource:
const string CONNECTION_STRING = @"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=c:\; Extended Properties=""text;HDR=YES;"";";
What do I need to do to get this to work?
'variable_name' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
My connection string code is as follows for the datasource:
const string CONNECTION_STRING = @"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=c:\; Extended Properties=""text;HDR=YES;"";";
What do I need to do to get this to work?