<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ProviderName="System.Data.SqlClient"
        DataSourceMode="DataSet" ConnectionString="<%$ ConnectionStrings:nwind%>" SelectCommand="SELECT CustomerID, CompanyName FROM Customers">
    </asp:SqlDataSource>
    <asp:GridView ID="GridView1" AllowPaging="true" PageSize="5" DataSourceID="SqlDataSource1"
        runat="server">
        <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="Primeira página" NextPageText="Próximo página"
            PreviousPageText="Página anterior" LastPageText="Última página" />
    </asp:GridView>
    </form>
</body>
</html>
