Hi There...
I have created a class to dynamically put together SQL function statements within a project. I have found this class to be pretty useful and would like to incorporate into future projects
namespace connectionClass
{
public class connClass
{
NpgsqlConnection conn = new NpgsqlConnection(projectName.Properties.Settings.Default.ConnString);
}
}
I want to be able to dynamically input the project name without having to do it myself for every different class! the connection string will be defined within the properties settings in VS.
Any help would be greatly appreciated:)