var tmp = list.Where(p => (p.tb == tbOName)).ToList<lb>();
找出 p中字段tb等于tbOName的对象,结果返回空
其中
public class lb {
public string tb { get; set; }
public string col { get; set; }
}
...全文
1102打赏收藏
asp.net 的 lamda表达式是怎么用的?
var tmp = list.Where(p => (p.tb == tbOName)).ToList(); 找出 p中字段tb等于tbOName的对象,结果返回空 其中 public class lb { public string tb { get; set; } public string col { get; set; } }