如何在客户端系统中维护我们的数据库 [英] how to maintain our database in client system

查看:122
本文介绍了如何在客户端系统中维护我们的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

iam正在开发Windows应用程序,而我的应用程序是由c#和sqlserver2005开发的.
在我的应用程序中,它也具有水晶报表.

现在我创建了一个设置并将其提供给客户端.

问题是数据库无法在客户端系统中运行,并且没有显示水晶报表.
但是,由于我的系统具有该数据库,因此同一exe在我的系统中运行良好.
iam maintenanceg app.config文件.


那么该怎么办 ?并在我的项目中添加最重要的修改?
安装insatall之后,devedlop客户端应用程序和在其他系统中维护我们的数据库的确切过程是什么?
我有一个面团,我们的sqlserver credentails不同,而客户端系统crexdentails不同,那么用户如何使用此exe?

请提供有关此问题的任何示例和建议,请参见...

Hello

iam developing windows application and my application developed by c# and sqlserver2005.
in my application it have crystal reports also.

now i created a setup and given to client.

The problem is the database is not working in client system and it is not showing crystal reports.
But the same exe working well in my system becuase my system have that database.
iam maintaing app.config file.


So what to do ? and wich modifications attach to my project?
what is the exact process for devedlop client application and maintain our database in other systems after insatall ?
i have one dought our sqlserver credentails are diferent and client system crexdentails are different So how user work with this exe?


give any examples and sugestions on this issue plz...

推荐答案

我认为您的实现不是更好的方法.大多数自定义软件需要事先安装一些预请求应用程序.在您的情况下,客户端需要安装SQL Server才能使用您的应用程序.您是否真的认为客户真的喜欢这样做,如果他们真的不使用SQL date来工作.您必须一开始就做出这些决定.您可以使用MS Access或大多数客户端使用的东西.

但是,查看您的问题,我的解决方案是检查系统中是否已安装SQL.如果不是,则简单地通知用户并中止安装.如果已经安装了SQL,那么您要做的就是使用数据库创建自己的配置文件,并将其与应用程序一起使用.由于您正在使用app.config文件,因此可以轻松地对其进行管理.
I don''t think your implementation is a better one. Most of the custom software need some pre-request application installed before hand. In your case client needs to install SQL server in order to use your application. Do you really think that clients really like to do that, if they really not using SQL date to date work. Those decisions you have to take at the begining. You may use MS Access or something that most of the clients are using.

However, looking at your question, my solution is check that SQL is already installed in the system. If not simply notify to the user and abort the installation. If SQL is already installed then what you have to do is make your own profile with the database and use it with your application. Since you are using app.config file you can manage it easily.


这篇关于如何在客户端系统中维护我们的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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