I have C# .net project with SQL Server 2008 written in Visual Studio 2008. There I used the following connection string to connect with SQL Server:
string co
Aside from LOCALHOST and "." You can
use "server = 127.0.0.1\SQLEXPRESS"
Add an alias to the SQL Server Configuration Manager and use that in your string
add 127.0.0.1 foo to your hostsfle and use it e.g. "server = FOO\SQLExpress"
127.0.0.1 foo
Mange the connection in the machine config