LINQ in Action roller

ASP.NET - can't get foreign key value working

Hi there, I'm trying to do something exactly like what's described in Scott Guthrie's post here - in the section "Cleaning up the SupplierID and CategoryID Columns" Scott describes how to get the Supplier Name instead of showing the SupplierID - using the code in the GridView In my example, I have a table schools, and a table licenses. On the licenses table there is a school_id - which is a foreign key to the id key on the schools table. If I run the following Linq statement in LinqPad I get the Read More...
Published Tuesday, April 29, 2008 1:54 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication