LINQ in Action roller

the problem happen when binding datasource

my linq like this: var info = from tc in db.TTc join sp in db.TXPDM on tc.SPBH equals sp.XPDM join ry in db.TRY on tc.RYID equals ry.RYDM join role in db.TRole on tc.RYLX equals role.RoleID where tc.SPBH.Equals(spid) select new { tc.TCID, sp.XPMC, ry.RYMC, role.RoleName, tc.TCBL }; the "spid" is an args,when i use binding to thie listview's itemsource,like this : this.listView1.ItemsSource = info.ToList(); it happen error! Read More...
Published Thursday, May 22, 2008 8:43 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication