i have created win form application adds, updates, deletes records in database. application built in vs 2015 in .net 4.5 , uses sql server 2012 database storing records. have run application in pc not have vs nor sql server. how it?
i have exe file of project in bin folder. if run exe file in pc, start database operations not run because sql server not there. question how run database operations of project in pc now?
to answer this, solution depends on way manage database.
option 1: application should execute on separate machine, want database not reside on same machine, , want use same database there on other system. if case need change connection string , provide of databas. make sure network working , able connect machine.
option 2: in case want have separate database each application instance on same system, need have datbase there. if not want install full sql on can consider free version express or other file base db sqlite.