<%@ Page language="c#" Codebehind="useDataList.aspx.cs" AutoEventWireup="false" Inherits="CommonFunction.useDataList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>useDataList</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<h2>使用DataList控件绑定数据</h2>
			<asp:DataList id="dluse" style="Z-INDEX: 101; LEFT: 32px; POSITION: absolute; TOP: 56px" runat="server">
				<ItemTemplate>
					<%#DataBinder.Eval(Container.DataItem,"TitleOfCourtesy")%>
					<%#DataBinder.Eval(Container.DataItem,"LastName")%>
					<%#DataBinder.Eval(Container.DataItem,"FirstName")%>
				</ItemTemplate>
			</asp:DataList>
		</form>
	</body>
</HTML>
