// 获取系统中设置的默认城市 /// <summary> /// 获取系统中设置的默认城市 /// </summary> /// <param name="str"></param> public string GetDefaultCity() { string query = "SELECT DISTINCT LoadCity FROM dbo_LoadCity Where LangType='" + _lang + "' and IsDefault=1"; DataTable dt = _dao.GetLoadIndex(query); if (dt.Rows.Count > 0) { return(dt.Rows[0].ItemArray[0].ToString()); } return(""); }