I am looking for a suggestion, how can I connect database without writing the connection string in the native application.
I am using this but looking for another so that, when I rename database, the software will connect automatically.
static string conStr = @"server=myServerName;Integrated Security=true;Connection Timeout=5;Database=myDatabaseName;";