<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ExibirCategorias.aspx.cs" Inherits="ExibirCategorias" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h2>Todas categorias</h2>
    <p>
        <asp:ListView ID="lvCategorias" runat="server" >  
            <ItemTemplate>
                <td>
                      <h3><asp:HyperLink runat="server" ID="HyperLink1" NavigateUrl='<%# Page.GetRouteUrl("Exibir Produtos", new { NomeCategoria = Eval("CategoryName").ToString() }
                    ) %>' Text='<%# Eval("CategoryName") %>'></asp:HyperLink></h3>
                </td>
            </ItemTemplate>
        </asp:ListView>
    </p>
</asp:Content>