<%@ Page Language="C#" MasterPageFile="~/EmployeesMasterPage.master" AutoEventWireup="true" CodeFile="DocumentsList.aspx.cs" Inherits="DocumentsList" Title="Untitled Page" %>


<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
<table>
    <tr>
	<td colspan="2"><font size="5" color="maroon"><strong>Documents List</strong></font></td>
	</tr>
	<tr>
	<td colspan="2">
    <img src="Images/generic.jpg" style="height: 7px; width: 317px" />
	</td>
	</tr>
    <tr>
    <td>
   <table>
				<tr>
					<td valign="top">
					<asp:DataGrid id="DataGrid1" style="Z-INDEX: 111; LEFT: 46px; TOP: 279px"
				runat="server" Font-Size="10pt" AutoGenerateColumns="False" Width="182px" AllowPaging="True"
				PageSize="6" 
                            ondeletecommand="DataGrid1_DeleteCommand" 
                            onpageindexchanged="DataGrid1_PageIndexChanged">
				<Columns>
					<asp:BoundColumn DataField="docno" HeaderText="DocumentNo"></asp:BoundColumn>
					<asp:ButtonColumn Text="Show" HeaderText="Show" CommandName="Delete"></asp:ButtonColumn>
				</Columns>
			            <HeaderStyle BackColor="#FF9900" Font-Bold="True" Font-Size="12pt" 
                            ForeColor="#990000" />
			</asp:DataGrid>
					
					</td>
					<td>
					<asp:Panel id="Panel1" style="Z-INDEX: 113; LEFT: 281px; TOP: 220px" runat="server"
				Width="604px" Height="325px">
				<asp:TextBox id="TextBox1" runat="server" Height="291px" Width="600px" 
                            TextMode="MultiLine" ontextchanged="TextBox1_TextChanged"></asp:TextBox><br />
				<asp:Button id="Button1" runat="server" Width="71px" Text="Delete" onclick="Button1_Click"></asp:Button>
				<asp:Button id="Button2" runat="server" Width="69px" Text="Update" onclick="Button2_Click"></asp:Button>
			</asp:Panel>
						</td>
				</tr>
				
			</table>
			
						    </td>
    </tr>
    <tr>
				<td colspan="2"><asp:Label ID="lbltext" runat="server"></asp:Label></td>
				</tr>
    </table>

</asp:Content>


