<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" Title="MusicStore - Home" MasterPageFile="~/MasterPage.master" %>

<asp:Content ContentPlaceHolderID="CenterContentPlaceHolder" runat="server">
    <h3>New albums in the music store</h3>
    <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" CssClass="fullwidth">
        <ItemTemplate>       
            <div class="albumdescription">
                <asp:Image ImageUrl='<%# Eval("CoverArtFile", "images/{0}") %>' CssClass="albumart" runat="server" />                
                <asp:Label ID="TitleLabel" CssClass="albumtitle" runat="server" Text='<%# Eval("Title") %>'></asp:Label><br />            
                <asp:Label ID="ArtistLabel" CssClass="artistname" runat="server" Text='<%# Eval("Artist") %>'></asp:Label><br />            
                <asp:Label ID="GenreLabel" CssClass="genre" runat="server" Text='<%# Eval("Genre") %>'></asp:Label><br />                                    
                <div class="spacer"></div>
                </p>                                                        
            </div>                            
            <div style="clear: left" /> 
        </ItemTemplate>
    </asp:DataList>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="Get" TypeName="Albums">
    </asp:ObjectDataSource>


</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
<p>Today's specials:</p>
<br />
<p>All songs - only 79c!</p>
</asp:Content>
