日期:2014-05-20  浏览次数:21225 次

未能为源类型 找到查询模式的实现 找不到select
C# code

    private void button2_Click(object sender, EventArgs e)
        {
            tb_apply app=GetLinq();
            //
            var apply = from ap in app select new { ap.seq,ap.date };
  
        }
 


刚开始学这个Linq。后面这句在app这个对象报错:未能为源类型 The.Linq.tb_apply找到查询模式的实现 找不到select

这是何故? 支个招吧,亲。。。。。。。

------解决方案--------------------
探讨

大致知道什么原因了............