<%@ Page Language="C#" MasterPageFile="~/ListaMailowa_Xml/MasterPage.master" AutoEventWireup="true" CodeFile="Lista.aspx.cs" Inherits="Lista" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/ListaMailowa_Xml/App_Data/ListaMailowa.xml"
        XPath="ListaAdresow/email"></asp:XmlDataSource>
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="XmlDataSource1">
        <Columns>
            <asp:BoundField DataField="adres" HeaderText="Lista adres&#243;w e-mail" SortExpression="adres" />
        </Columns>
    </asp:GridView>
    <br />
    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Powrót" /><br />
</asp:Content>

