Problem associating linq view with table
Posted on 2011-02-24
I have a listview that is bound to my Products table. Within this listview I have dropdownlists that are bound to a view.
The reason I am using a view is because I need to display 2 fields from different tables.
The primary key for the view is a key in the Products Table.
I keep receiving an error, saying... Message: DataBinding: 'Service2020.ProductsLU' does not contain a property with the name 'vBrandsTypes'.
I assume it is coming from...
<asp:Label ID="lblProdcat" runat="server" Text='<%# Eval("vBrandsTypes.ProductType") %>' />
I tried dragging the view onto the table in the dataclass designer, but it did not work.
What can I do to get this to work?