How to Publish Project in C# using SQL Server 2008
I have a database project in Windows Forms using C#. I used SQL Server
2008(ABC Server Name) tables as datasource in this Project. Now i want
to publish this Project. MY question is that if i publish this Project
and install any other PC with SQL Server 2008. I used ABC Server Name as
DataSource in Application but now SQL Server Name is Different How can i
solve this Problem? Sorry I am new User and feel very Difficult to
define my problem therefore please ignore if u dont understand?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Animesh DattaRank #9,921 · 201 reputationPosted Feb 28, 2013, 3:31 AM EST
Data Source=ServerAddress;Initial Catalog=DataBaseName;Integrated Security=false;
User ID=myUsername;Password=Password;
I think your connection string is not correct.First check the connection string
then proceed