首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

未能为源类型 找到查询模式的实现 找不到select,该如何解决

2012-05-21 
未能为源类型 找到查询模式的实现 找不到selectC# codeprivate void button2_Click(object sender, EventA

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

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

[解决办法]
探讨

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

热点排行