<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Listing16-1.aspx.cs"
	Inherits="Listing16_1" %>
<!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>Vpis 16.1</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ListView ID="customersList" runat="server"
DataSourceID="customersDataSource">
<LayoutTemplate>
<ul>
	<asp:PlaceHolder ID="itemPlaceholder" runat="server" />
</ul>
</LayoutTemplate>
<ItemTemplate>
<li>
<b><asp:Label runat="server" Text='<%# Eval("CustomerId") %>' /></b> -
<asp:Label runat="server" Text='<%# Eval("ContactName") %>' /><br />
<asp:Label runat="server" Text='<%# Eval("CompanyName") %>' />
[<asp:Label runat="server" Text='<%# Eval("Country") %>' />]
</li>
</ItemTemplate>
</asp:ListView>
<asp:SqlDataSource ID="customersDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
SelectCommand="SELECT [CustomerID], [CompanyName], [ContactName], [Country]
			FROM [Customers]" />
</div>
</form>
</body>
</html>
