<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MVCBlogo.NET.BO.Tag>>" %>
<%@ Import Namespace="Spencer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderPage" runat="server">

    <h3>管理分类</h3>
    <p>
        <%= Html.ActionLink("新建分类", "AdminTagCreate")%>
    </p>
   <%=Html.GridView<MVCBlogo.NET.BO.Tag>(Model,new string[]{"id","tagname"},
                                               new GridViewOption()
                                               {
                                                    EditAction="AdminTagEdit",
                                                    DeleteAction ="AdminTagDelete",
                                                    Columns=new string[]{"编号","分类"}
                                                })
   %>

</asp:Content>
