读书人

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

发布时间: 2012-05-21 18:04:41 作者: rapoo

未能为源类型 找到查询模式的实现 找不到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

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

[解决办法]
探讨

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

读书人网 >.NET

热点推荐