-3
Items = (from myRow in table.AsEnumerable()
         where myRow.Field<string>("RelatedContactName") == groupName
         select myRow)

項目はオブジェクトのプロパティです。

public class Item
{
     public List<Item> Items
     {
         get;
         set;
     }
}
4

2 に答える 2

-1
Items = (from myRow in table.AsEnumerable()
     where myRow.Field<string>("RelatedContactName") == groupName
     select myRow).ToList();
于 2013-08-14T22:46:45.167 に答える