Please write configuration files in the program how to connect the Oracle database
CodePudding user response:
The format of the file is ini files in a strict sense, you baidu how to read ini fileCodePudding user response:
First take a look at the articlehttps://www.cnblogs.com/storys/archive/2013/03/06/2945914.html
CodePudding user response:
Oneself write a analytical tool to go, to the inside of the data, when initialize database connection or configure the database connection is ok to use, is a text file parsing!Win32api have ready-made can directly use, or reference under the simple implementation of c # : https://github.com/zhanggaolei001/IniReader