<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Maticsoft.Model.Product>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	商品信息
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>商品信息</h2>

    <fieldset>
        <legend>商品信息</legend>
        <p>           
            <img width="150" height="150" border="0" src='/ProductImages/<%=Model.Image %>'/>
        </p>    
        <p>
            ProductId:
            <%= Html.Encode(Model.ProductId) %>
        </p>
        <p>
            BrandId:
            <%= Html.Encode(Model.BrandId) %>
        </p>
        <p>
            CategoryId:
            <%= Html.Encode(Model.CategoryId) %>
        </p>
        <p>
            Name:
            <%= Html.Encode(Model.Name) %>
        </p>
        <p>
            Descn:
            <%= Html.Encode(Model.Descn) %>
        </p>
            
        <p>
            Price:
            <%= Html.Encode(String.Format("{0:F}", Model.Price)) %>
        </p>
        <p>
            VipPrice:
            <%= Html.Encode(String.Format("{0:F}", Model.VipPrice)) %>
        </p>
       
    </fieldset>
    <p>
        <%=Html.ActionLink("编辑", "Edit", new { id=Model.ProductId  }) %> |
        <%=Html.ActionLink("返回列表", "List")%>
    </p>

</asp:Content>

