示例#1
0
 private void BindData()
 {
     System.Collections.Generic.List <SettingInfo> settingsList = new System.Collections.Generic.List <SettingInfo>();
     settingsList = (System.Collections.Generic.List <SettingInfo>)SettingProvider.GetCacheSettingByCateID(WebUtils.GetQueryInt("cateid"));
     System.Collections.Generic.List <ContFieldInfo> fieldList = this.GetFieldList(settingsList);
     fieldList.Sort((ContFieldInfo parameterA, ContFieldInfo parameterB) => parameterA.Sort.CompareTo(parameterB.Sort));
     this.Repeater1.DataSource = fieldList;
     this.Repeater1.DataBind();
 }