コード例 #1
0
 protected override List<object> GetDataSource()
 {
     if (SearchCondition == null)
     {
         operators = bll.GetItems(null).QueryObjects.ToList();
     }
     else
     {
         operators = bll.GetItems(SearchCondition).QueryObjects.ToList();
     }
     List<object> source = new List<object>();
     foreach (object o in operators)
     {
         source.Add(o);
     }
     return source;
 }