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

<!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>Kontrolka BulletedList</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <asp:SqlDataSource ID="dsCustomers" runat="server" 
         ConnectionString="<%$ ConnectionStrings:AWLTConnection %>"
         SelectCommand="SELECT [CustomerID], [FirstName] + ' ' + [LastName] as FullName FROM [SalesLT].[Customer] ORDER BY FullName" />
       <asp:BulletedList ID="BulletedList1" runat="server" DataSourceID="dsCustomers" 
           DataTextField="FullName" DataValueField="CustomerID">
       </asp:BulletedList>
   </div>
   </form>
</body>
</html>
