Listing G
<%@ Register TagPrefix="uc1" TagName="NavBar" Src="NavBar.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ViewBooks.aspx.vb" Inherits="WSB2BJohn.ViewBooks"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
       <HEAD>
              <title>WebForm1</title>
              <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
              <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
              <meta content="JavaScript" name="vs_defaultClientScript">
              <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
              <LINK href="Styles.css" rel="stylesheet">
       </HEAD>
       <body>
              <form id="Form1" method="post" runat="server">
                     <P><uc1:NavBar id="NavBar1" runat="server"></uc1:NavBar></P>
                     <h3>View Books</h3>
                     <P>
                           <br>
                           <asp:datagrid id="DataGrid1" CellPadding="3" runat="server" AutoGenerateColumns="False" CssClass="DG_NORMAL">
                                  <SelectedItemStyleCssClass="DG_SELECTED"></SelectedItemStyle>
                                  <HeaderStyleCssClass="DG_HEADER"></HeaderStyle>
                                  <Columns>
                                         <asp:ButtonColumn Text="Select" CommandName="Select" Visible="False"></asp:ButtonColumn>
                                         <asp:BoundColumnDataField="BOOK_ID" Visible="False"></asp:BoundColumn>
                                         <asp:BoundColumnDataField="BOOK_NAME" HeaderText="Book Name"></asp:BoundColumn>
                                         <asp:BoundColumnDataField="AUTHOR" HeaderText="Author"></asp:BoundColumn>
                                         <asp:BoundColumnDataField="PRICE" HeaderText="Price"></asp:BoundColumn>
                                  </Columns>
                           </asp:datagrid><br>
                           <br>
                           <asp:button id="btnEdit" CssClass="BUTTON" Visible="False" Text="Edit" Runat="server"></asp:button></P>
              </form>
       </body>
</HTML>