.NET with SQL Server 2005 and SQL Server 2008
Hi, I have small problem. In one single computer if we install both sqlserver 2005 and sqlserver 2008. From the c#.net how can we call the specific version? pls give me reply.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Blocked AccountRank #403 · 6.2K reputationPosted Nov 9, 2012, 12:28 AM EST
we define connection string like below code.
in above connection string you can change DataSource according to sql server version, which is basically a server name.