如何为独立系统开发数据库应用程序? [英] how to develop a database application for independent systems?

查看:92
本文介绍了如何为独立系统开发数据库应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对开发Windows应用程序有一个疑问....



我们正在使用数据库作为数据存储创建应用程序......

我们使用的是本地系统数据库或封闭的局域网网络



但我怀疑我们应该如何为每个应用程序编写代码像其他应用程序使用本地内存作为数据库的系统?



在连接字符串中我们为我们在场的服务器编写代码...但所有其他系统在世界可以访问我们的本地服务器.. !!! ?????????????????????????? b然后我们应编写什么代码来开发应用程序以在每个系统上运行,并且数据应存储在各自系统的本地内存中

i had one doubt in developing windows applications....

we are creating applications using database as data storage...
we are using database of local systems or in a closed lan network

but i had a doubt that how should we write code for an application to work on every systems like other apps using their local memory as database?

in connection string we write the code for the server that present at our presence... but all other systems in the world get access to our local servers..!!!??????????????????????????????
then what code should we write to develop application to run on every system and data should be stored in their local memory of their respective systems

推荐答案

您可以创建本地数据库 SDF文件并将其用于数据库操作。



参考 - 在C#Windows应用程序中使用本地数据库文件 [ ^ ]
You can create a Local Database SDF File and use that for your Database operations.

Refer - Use Local Database File in C# Windows Application[^]


这篇关于如何为独立系统开发数据库应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆