创建基于db的应用程序 [英] Making a db based application

查看:74
本文介绍了创建基于db的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

任何人都可以告诉我如何在计算机上运行基于数据库的应用程序而没有适当的数据库。

我从某人那里听到它是可能的但你必须在C#开发中使用不同的查询,比如在为查询添加参数时我们必须使用

Hi guys,
Can anyone tell me how can i run a database based application on a computer without having a proper database on it.
I heard from someone that it can be possible but you have to use different queries at C# development like while adding parameters to query we have to use

cmd.parameters.add(new SqlParameter("@xyz",textBox1.text));



请告诉我整个程序。

谢谢,

Akkywadhwa


Please tell me the whole procedure for this.
Thanks,
Akkywadhwa

推荐答案

您不需要在您的计算机上安装Sql Server或MySql等正确的数据库系统,您可以使用安装在其他地方的实例本地网络,或者在互联网或云端的极端情况下。

但是,这些都不会对您使用查询的方式产生任何影响 - 只有当您使用在.NET的早期版本中,一些更友好的查询参数方法不可用。



但是,我怀疑你所说的是使用数据库(或数据库)喜欢)为您的计算机本地提供单个用户的文件。在这种情况下,我建议您查看SqlCE或SqLite - 这两者都需要在客户端PC上进行最少的额外安装,尽管它们需要在开发PC上安装。



如果这不是您想要做的,那么请尝试更清楚地解释一下,我们会尽力帮助!
You don''t need a "proper" database system such as Sql Server or MySql installed on your computer, you can use an instance installed elsewhere on teh local network, or in extreme cases on the internet or cloud.
However, none of this would make any difference to the way you use queries - it is only if you are using an early version of .NET that some of the more friendly query parameter methods are unavailable.

However, what I suspect you are talking about is using a database (or database like) file locally to you computer for a single user. In that case, I would recommend that you look at SqlCE or SqLite - both of which require minimal extra installation on a client PC, allthough they would require installation on the development PC.

If this is not what you are trying to do, then please try to explain a little more clearly, and we will try to help!


这篇关于创建基于db的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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