在没有SQL的情况下运行ADO.NET应用 [英] Run an ADO.NET app without SQL

查看:78
本文介绍了在没有SQL的情况下运行ADO.NET应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个在其中使用ADO.NET的应用程序.我想将其安装在没有SQL Server的Windows上,并在不打扰的情况下运行.

我使用了sqlconnection.

我的意思是;在安装中安装SQL版本或类似的东西……或者我必须更改连接类型!我不知道〜

无论如何,请指导我.:confused:

I created an application that uses ADO.NET in it. I want to install it on Windows which hasn''t got SQL Server, and run without disturbing.

I used sqlconnection.

I mean; in the installation install a SQL version or somthing like that ... or maybe I must change the connection type! I don''t know~

Anyway, guide me please.:confused:

推荐答案

如果您未安装SQL Server,则应用程序的数据库驱动部分显然将无法正常工作,使问题变得毫无意义.如果您害怕安装SQL Server Express Edition,可以查看Compact Edition,它是自包含的(但因此受到限制).
If you don''t have SQL Server installed, then the database driven part of your app obviously will not work, making the question kind of pointless. If you are scared of installing SQL Server Express Edition, you can look at the Compact Edition, which is self contained ( but limited as a result ).


那不是我的答案:叹气:我的意思是,有什么方法可以在部署中将sql组件添加到我的应用程序中,而无需单独安装SQL Server来运行它吗?
如果可能的话,那有什么限制?
It wasn''t my answer :sigh: ,I mean is that any way to add sql component to my application in deployment ,to run it without installing SQL server separately?
if it''s possible what''s the limitation?


如果这是您制作的应用程序,则可以轻松地对其进行设备设置,以确保在不存在数据库时不会出现错误.

如果它是别人制作的,并且制作它的人不允许该应用程序在没有数据库的情况下运行,那么您必须安装Sql Server.

:(
If this is an application made by you, you can easily device it to ensure that no error comes when database is not present.

If it is made by someone else, and the person who made it doesnt allow the application to run without database, then you must have Sql Server installed.

:(


这篇关于在没有SQL的情况下运行ADO.NET应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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