带有sql数据库的桌面应用程序, [英] Desktop application with sql database,

查看:132
本文介绍了带有sql数据库的桌面应用程序,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我刚刚创建了一个桌面应用程序.
并创建安装程序,而不是在我的计算机上安装.
但是我不明白我的计算机中存储数据的位置.

我已经将sql server与c#.net一起用作数据库.


谢谢,

Hello,

I have just create one desktop application.
and also create setup, than install on my computer.
But i can''t understand where is store data in my computer.

i have using sql server as database with c#.net.


Thanks,

推荐答案

http://forums.asp .net/t/1817976.aspx/1 [ ^ ]

http://msdn.microsoft.com/en-us/library/aa983326.aspx [ ^ ]
http://forums.asp.net/t/1817976.aspx/1[^]

http://msdn.microsoft.com/en-us/library/aa983326.aspx[^]


应该是,这与asp.net无关.由于桌面应用程序是Windows Forms或WPF(对于Win8而言并非如此).
据我了解,您不需要实际的服务器,因为它的唯一客户端就是应用程序.这就是嵌入式服务器的用途.它们很多,因此您必须选择,但为简单起见,我建议尝试 ^ ].这是一个很好的使用方法教程:
Is suppose, this has nothing to do with asp.net. Since desktop applications are Windows Forms or WPF (not true for Win8).
As I understood, you don''t need an actual server since the only client of it would be the application. That is what embedded servers are for. There are many of them, so you have to choose, but for the simplicity''s sake, I suggest trying Microsoft SQL Server Compact edition[^]. And here is a good tutorial how to use it: http://www.c-sharpcorner.com/UploadFile/3cf852/an-introduction-to-sql-server-compact-edition-sqlce-4-0/[^]. Since it needs no separate installation during the deploy process, you can ship all your files and the database using the normal deployment (setup) process you would use for the gui part of your application.


这篇关于带有sql数据库的桌面应用程序,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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