c# - deployable database on CD -


i have microsoft sql database connected winforms c# application, works fine on single computer, usable on cd user.

i tried putting in localdb reason database duplicated , put bin folder, causes multiple issues in recording data, instances save user id 5 saves in bin never makes changes real database. next go create it, user id changes 7 user 6 not visible in either 2 databases (yes auto incremented 1)

any suggestions or best methods on making database useable , readable via cd if winform application on cd

i have not tried self, according documentation sqlite supports read-only databases.

if file read-only (due permission bits or because located on read-only media cd-rom) sqlite opens database reading only. entire sql database stored in single file on disk. additional temporary files may created during execution of sql command in order store database rollback journal or temporary , intermediate results of query.

see https://www.sqlite.org/c_interface.html

.net sqlite providers available here:


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -