<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ex5-5.aspx.cs" Inherits="Ex5_5" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ex5-5</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DataList ID="DataList1" runat="server">
            <HeaderTemplate>
                &nbsp;&nbsp;姓名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 注册日期
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" Text='<%#Eval("mname")%>'></asp:Label>
                &nbsp;<asp:Label ID="Label1" runat="server" Text='<%# Eval("mdate","{0:D}")%>'></asp:Label>
            </ItemTemplate>
        </asp:DataList>
    </div>
    </form>
</body>
</html>
