Hi All
please Help me
I Develope windows Applcation program by c# 2010
i use LINQ to SQL class to connect data base by SQL 2005
but When i make setup project , database file not exist in
project
and can't know how i do database file created in user PC when
setup my exe file and how the application connect with
database file when run at user PC
Anoop Kumar SharmaPosted Jan 23, 2015, 10:23 PM
Method 1:
http://www.msdotnet.co.in/2013/07/how-to-create-setup-fileexe-with.html#.VCLWAvmSy64
http://www.youtube.com/watch?v=YqvgerKYtOg
Method 2:
http://www.rajneeshverma.com/post/2012/08/16/Setup-and-Deployment-of-Windows-Application-with-SQL-Server-Database-using-Visual-Studio-2010.aspx
Hope this will help you.
..................................................................................................................................
If this post is useful then mark it as "Accepted Answer"
Zaid AnsariPosted Jan 23, 2015, 10:17 PM
Using system.io
Thanks
Zaid AnsariPosted Jan 23, 2015, 10:15 PM
SQL data base out put 2 .MDF and .log file understand brother
Because SQL server start services
Best solution
SQLconnection con new sql connection (data source=. ........)
Than connection read karo text file se to tum change kar sakte ho client site pe woh bhi run time pe OK.