<%@ Page Language="C#" AutoEventWireup="true" CodeFile="text_xml_ds.aspx.cs" Inherits="text_xml_ds" %>

<!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 runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="XmlDataSource1">
            <Columns>
                <asp:BoundField DataField="nom" HeaderText="nom" SortExpression="nom" />
                <asp:BoundField DataField="adresse" HeaderText="adresse" SortExpression="adresse" />
                <asp:BoundField DataField="ville" HeaderText="ville" SortExpression="ville" />
                <asp:BoundField DataField="codepostal" HeaderText="codepostal" SortExpression="codepostal" />
                <asp:BoundField DataField="ouvert_samedi" HeaderText="ouvert_samedi" SortExpression="ouvert_samedi" />
            </Columns>
        </asp:GridView>
        <br />
        <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/agences.xml"></asp:XmlDataSource>
        &nbsp;</div>
    </form>
</body>
</html>
