/// <summary> /// 更新语言信息。 /// </summary> private void UpdateLanguageInfo() { string[] columns = new string[] { "LANGUAGE_NAME", "LANGUAGE_SIGN" }; KeyValuePair <string, string> category = new KeyValuePair <string, string>("CATEGORY_NAME", "Language"); DataTable languageTable = BaseData.Get(columns, category); if (languageTable.Rows.Count > 0) { Dictionary <string, string> dicLanguage = new Dictionary <string, string>(); //把语言信息更新到XML文件 for (int i = 0; i < languageTable.Rows.Count; i++) { dicLanguage.Add(languageTable.Rows[i]["language_name"].ToString(), languageTable.Rows[i]["language_sign"].ToString()); } CallRemotingService.UpdateConfigureLanguageXml(dicLanguage); } }