1:public
static
class mobileconfiguration
2:
14:
15: xmldocument xmldocument = new xmldocument();
16: xmldocument.load(configfile);
18: settings = new namevaluecollection();
19:
20:foreach (xmlnode node in nodelist)
21:
26: }
27: }
28: }
新建類如上:
1:<?
xmlversion
="1.0"
encoding
="utf-8" ?>
2:<
configuration
>
3:<
>
4:<
addkey
="servername"
value
="myserver.mydomain"
/>
5:<
addkey
="serverport"
value
="0815"
/>
6:<
addkey
="username"
value
="myuser"
/>
7:<
addkey
="password"
value
="mypwd"
/>
8:>
9:configuration
>
訪問如下
1: ...
2:string username = mobileconfiguration.settings["username"];
3: ...
spring boot mybatis配置檔案開發
之前寫了乙個註解版開發的,現在在乙個配置檔案開發。我直接把 貼下面 根據id查詢單個資訊 public orders getorders integer id 新增單個資訊 mybatis config.xml的配置 insert into orders user id,number,oreatet...
OpenSUSE desktop桌面配置檔案編寫
這裡似乎更多的是因為需要非自由軟體而寫的,當然更多的是寫給像我這樣的不是很桌面的桌面黨。不過,還有一部分原因是opensuse的機制所導致的,bash容易被sudo弄暈,導致無法在x上執行。先附一張截圖吧。firefox的示例 desktop entry name firefox comment w...
Window mobile 軟鍵盤輸入法設定
input method manager,簡稱imm using microsoft.windowsce.forms inputpanel ip new inputpanel foreach inputmethod p in ip.inputmethods immreleasecontext hwn...