<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebForms.WebForm1" %>
<!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></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:LinqDataSource runat="server" ID="LinqDataSource"
OnSelecting="LinqDataSource_Selecting">
</asp:LinqDataSource>
<asp:ListView runat="server" ID="lstTest" DataSourceID="LinqDataSource" EnableViewState="False">
<LayoutTemplate>
<table cellspacing="0" cellpadding="6" class="ListView">
<thead>
<tr>
<td>Location</tdstyle>
<td> </td>
</tr>
</thead>
<tbody>
<tr id="itemPlaceHolder" runat="server"></tr>
</tbody>
</table>
</LayoutTemplate>
<EmptyDataTemplate>
</EmptyDataTemplate>
<ItemTemplate>
<tr>
<td><%# Eval("ID") %></td>
<td>
<asp:CheckBox runat="server" ID="chkSelect" />
</td>
</tr>
</ItemTemplate>
</asp:ListView>
<asp:DataPager ID="DataPager" PageSize="10" PagedControlID="lstTest" runat="server">
<Fields>
<asp:NextPreviousPagerField ButtonCssClass="StandardButton" ButtonType="Button" ShowFirstPageButton="True"
ShowLastPageButton="True" />
</Fields>
</asp:DataPager>
</div>
</form>
</body>
</html>