在Runnig模式下更改DBase [英] Change DBase On Runnig Mode

查看:58
本文介绍了在Runnig模式下更改DBase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!



我开发了会计程序运行得很漂亮,但现在出现了新的需求。

当我输入程序时,默认情况下会读取我放入文件中的数据库" WinSCM.exe.config"如果我想要更改,我必须退出程序并编辑更改数据库名称的文件。

我不希望它是这样的,因为我的客户端确实如此对几家公司进行会计处理,每家公司都是一个数据库,所以我想要一种选择公司的方法,当选择这家公司时,数据库会在发布版本中自动更改。



有人可以帮助我吗?

Hello everybody!

I have developed an accounting program that is working beautifully, but now a new need has arisen.
When I enter the program, by default it is read the DB that I put in the file "WinSCM.exe.config" and if I want to change I have to exit the program and edit the file changing the DB name.
I did not want it to be this way, because my client does accounting for several companies and each company is a DB, so I wanted a way to select a company and when selecting this company the database is automatically changed in the release version.

Can someone help me?

推荐答案

采取何种方式做您可以使用它来访问您的数据库,也可以在获得Oracle或IBM DB2的所有类型的回复之前聪明地告诉您哪种类型的数据库。 

What kind of way do you use to access your database, maybe also clever to tell what kind of database before you get all kind of replies for Oracle or IBM DB2. 


这篇关于在Runnig模式下更改DBase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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