may i know how to add sqlexpress database to my visual studio project while iam deploying...
(i tried by simply adding database into my project through solution explore before deploy , but while instaling deployed project into client machine ,on that time i cant access the data's from database.)
can you tell me how to do this process in detail.
prabhuraj 0 Newbie Poster
Recommended Answers
Jump to PostTry to put your connectionstring in a config - file. This way you'll be able to edit it specifically for the machine you want to install it on.
In you config- file it should look a bit like
<connectionStrings> <add name="nameconnstring" connectionString="connstring" providerName="System.Data.SqlClient"> </connectionStrings>
I think.
…
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.