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...