<%@ Page language="c#" Codebehind="DataGridFeatures.aspx.cs" AutoEventWireup="false" Inherits="UsingServerControls.DataGridFeatures" SmartNavigation="true"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>DataGridFeatures</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<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="DataGridFeatures" method="post" runat="server">
			<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 40px; POSITION: absolute; TOP: 53px" runat="server"
				Font-Bold="True">Books in Stock</asp:Label>
			<asp:DataGrid id="BookGrid" style="Z-INDEX: 102; LEFT: 36px; POSITION: absolute; TOP: 99px" runat="server"
				AutoGenerateColumns="False" CellPadding="5" ShowFooter="True" AllowSorting="True">
				<HeaderStyle HorizontalAlign="Center" BackColor="Silver"></HeaderStyle>
				<FooterStyle BackColor="Silver"></FooterStyle>
				<Columns>
					<asp:TemplateColumn>
						<ItemStyle BackColor="Silver"></ItemStyle>
						<ItemTemplate>
							<asp:Label id="Information" runat="server"></asp:Label>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:BoundColumn DataField="Title" SortExpression="Title ASC" HeaderText="&lt;b&gt;Book Title&lt;/b&gt;"></asp:BoundColumn>
					<asp:BoundColumn DataField="Price" SortExpression="Price ASC" HeaderText="&lt;b&gt;Price&lt;/b&gt;">
						<ItemStyle HorizontalAlign="Right" BackColor="Yellow"></ItemStyle>
					</asp:BoundColumn>
					<asp:TemplateColumn>
						<ItemStyle BackColor="LightBlue"></ItemStyle>
						<ItemTemplate>
							<ASP:Button id="idSummary" runat="server" CommandName="ShowSummary" Text="Show Summary"></ASP:Button>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="&lt;b&gt;Buy Now&lt;/b&gt;">
						<ItemStyle HorizontalAlign="Center" BackColor="Silver"></ItemStyle>
						<ItemTemplate>
							<ASP:CheckBox id="chkBuy" runat="server"></ASP:CheckBox>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
			</asp:DataGrid>
			<asp:Label id="Label3" style="Z-INDEX: 105; LEFT: 38px; POSITION: absolute; TOP: 13px" runat="server"
				Font-Bold="True">Check for books with this keyword in title: </asp:Label>
			<asp:TextBox id="KeyWord" style="Z-INDEX: 106; LEFT: 344px; POSITION: absolute; TOP: 9px" runat="server"
				AutoPostBack="True"></asp:TextBox>
			<br>
			<br>
			<br>
			<br>
			<asp:Label id="Label2" style="Z-INDEX: 103; LEFT: 46px; POSITION: absolute; TOP: 341px" runat="server"
				Font-Bold="True">Book Summary</asp:Label>
			<asp:Label id="Summary" style="Z-INDEX: 104; LEFT: 50px; POSITION: absolute; TOP: 380px" runat="server"></asp:Label>
		</form>
	</body>
</HTML>
