问题
I have created windows application and i have created local database and added user name and password
If username and password is correct then i have to open the code.
I have generated a Setup.Msi , but when i try to install in my machine its working correctly
But when i try to install the same exe in some other machine which is not having .Net or anything related to sql server ..
It shows errors..it cant able to read .Mdf file...How to do it please. help me in this
<add key="Connection" value="Server=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Download\Test.mdf;Integrated Security=True;"/>
Even i tried Integrated security as false .. still the same issue ...
来源:https://stackoverflow.com/questions/22712688/how-to-deploy-c-sharp-exe-with-mdf-file