/// <summary> /// 获得软件设置表中的所有格式 /// </summary> /// <returns></returns> public string[] GetFormat() { string str_sql = @"select distinct geshimingcheng from tablesetting"; List <string> arr_format = chhelper.GetFormatsName(); return(arr_format.ToArray()); }
/// <summary> /// 获得软件设置表中的所有格式 /// </summary> /// <returns></returns> public string[] GetFormat() { //string str_sql = @"select distinct 格式名称 from 软件设置表"; //List<object> list_o = mysqliter.ExecuteRow(str_sql, null, null); //List<string> list_string = new List<string>(); //foreach (var item in list_o) //{ // Dictionary<string, object> dic = item as Dictionary<string, object>; // list_string.Add(dic["格式名称"].ToString()); //} List <string> arr_format = chhelper.GetFormatsName("zhengwensetting"); return(arr_format.ToArray()); }