hello there
i have created a windows application with sql database and i have published this application and from the setup i have installed it in another computer but when i run this it does not access the database how to solve this problem please guide me
thanks in advance
Database problem in windows application
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Senthil murugan152 reputationPosted May 31, 2012, 2:10 AM EDT
U have to Use Like That
DataSource=.\(Server Name After slash);Initial catalog="Database Name";Integratd Security=True
Kunal VaishyaRank #990 · 2K reputationPosted May 31, 2012, 3:29 AM EDT
this also may this help you
DataSource=(Local);Initial catalog="Database Name";Integratd Security=True
Refer this Link to More Understanding
http://www.connectionstrings.com/sql-server-2005