I don't want to see my project files like .cs and other after setup? How can Do I? And I want to embed
my Access db in my project.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Posted Jul 9, 2012, 8:33 PM EDT
If you're using web application then you can create web setup project or you can publish the project and you can host it in the IIS.
praveen maurya103 reputationPosted Jul 9, 2012, 9:28 PM EDT
Murli is right first you need to create a setup project then in file system choose add-->output project---->source file.
visit here for how to create a setup projet
http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html
http://www.c-sharpcorner.com/uploadfile/vishnuprasad2005/setupprojects12022005022406am/setupprojects.aspx
Yakup BG66 reputationPosted Jul 10, 2012, 1:21 AM EDT
praveen maurya103 reputationPosted Jul 10, 2012, 1:52 AM EDT
after that in your project a new file named as app.config will there open this and copy the connection string it should be like this
"DataSource=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database\sahara.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
after that use this connection strin on your all project
i always do this with sql server database but never in access but i think it will be same
if this work tell me an click on accepted answer
thank you
Posted Jul 10, 2012, 2:28 AM EDT