Here is the situation, i have two tables tblProduct and tblCategory, what i am trying to do is populate a gridview, i have LinqDataSource binded to the grid and the correct association made inside the .dbml (tblProduct.CategoryID to tblCategory.ID).
To show the fields from tblCategory instead of the tblProduct.CategoryID in the GridView i am using :
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Eval("tblCategory.Name") %>'>
</asp:Label>
</ItemTemplate>
This works fine inside the VS2008 debugger, but once its published to the server (2003 + IIS6.0) the column that belong to tblCategory simply don't show, instead of having the category name (tblCategory.Name) displayed like it does inside the debugger it is blank, no errors simply wont show.
Can anyone shed some light in this?