using System; using System.Collections.Generic; namespace Infrastructure { public class ControlHelper { /// /// 根据集合得到下拉框 /// /// 实体对象 /// 实体集合 /// 下拉框的id /// 值 字段名 /// 文本 字段名 /// 需要选中的值 /// 样式名称 /// public static string GetDropDownByList(List rList, string id, string valFiled, string nameFiled, string selected = "0", string css = "") { string str = " "; return str; } /// /// 根据枚举得到下拉框 /// /// 枚举对象 /// 下拉框的id /// 需要选中的值 /// 样式名称 /// public static string GetDropDownByEnum(Type type, string id, string selected = "", string css = "") { string str = " "; return str; } } }