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

<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <table>
    <tr>
	<td colspan="2"><font size="5" color="maroon"><strong>Branch List</strong></font></td>
	</tr>
	<tr>
	<td colspan="2">
    <img src="Images/generic.jpg" style="height: 7px; width: 317px" />
	</td>
	</tr>
    <tr>
    <td>
    <asp:DataGrid id="DataGrid1" style="Z-INDEX: 113; LEFT: 41px; TOP: 284px; right: 533px;"
				runat="server" Font-Size="10pt" AutoGenerateColumns="False" AllowPaging="True" 
                PageSize="6"  
            oncancelcommand="DataGrid1_CancelCommand" 
            ondeletecommand="DataGrid1_DeleteCommand" oneditcommand="DataGrid1_EditCommand" 
            onpageindexchanged="DataGrid1_PageIndexChanged" 
            onupdatecommand="DataGrid1_UpdateCommand">
				<Columns>
					<asp:BoundColumn DataField="branchno" ReadOnly="True" HeaderText="BranchNo"></asp:BoundColumn>
					<asp:BoundColumn DataField="branchname" HeaderText="BranchName"></asp:BoundColumn>
					<asp:BoundColumn DataField="address" HeaderText="Address"></asp:BoundColumn>
					<asp:BoundColumn DataField="phno" HeaderText="PhoneNo"></asp:BoundColumn>
					<asp:BoundColumn DataField="dateReg" HeaderText="RegDate"></asp:BoundColumn>
					<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>
					<asp:ButtonColumn Text="Delete" CommandName="Delete"></asp:ButtonColumn>
				</Columns>
			    <HeaderStyle BackColor="#CC9900" Font-Size="12pt" ForeColor="#990000" />
			</asp:DataGrid>
    </td>
    </tr>
    <tr>
				<td colspan="2"><asp:Label ID="lbltext" runat="server"></asp:Label></td>
				</tr>
    </table>

</asp:Content>


