问题描述
大家好!
我开发了会计程序运行得很漂亮,但现在出现了新的需求。
当我输入程序时,默认情况下会读取我放入文件中的数据库" 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?
推荐答案
这篇关于在Runnig模式下更改DBase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!