In the Try It Out for section 'Shaping Data with Anonymous Types,' item 5, I switch to design view and I'm not sure where to double-click. I'm not able to locate any code starting with 'Imports PlanetWroxModel...'. Here's my AllByGenre.aspx code:
Code:
<%@ Page Title="Reviews Grouped by Genre" Language="VB" MasterPageFile="~/MasterPages/Frontend.master" AutoEventWireup="false" CodeFile="AllByGenre.aspx.vb" Inherits="Reviews_AllByGenre" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" Runat="Server">
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<h3><asp:Literal ID="Literal1" runat="server" Text='<%# Eval("Name") %>'></asp:Literal></h3>
<asp:BulletedList ID="ReviewList" runat="server" DataSource='<%# Eval("Reviews")%>' DataTextField="Title" DisplayMode="Text"></asp:BulletedList>
</ItemTemplate>
</asp:Repeater>
</asp:Content>
Thanks for your help!