<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="frmAdminallimage.aspx.cs" Inherits="admin_frmAdminallimage" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table>
        <tr>
            <td style="height: 25px">
            </td>
            <td style="height: 25px">
                <asp:Label ID="Label1" runat="server" Text="PICTURE GALLERY" Font-Bold="True" Font-Underline="True" Font-Size="1em"></asp:Label>
            </td>
            <td style="width: 31px; height: 25px;">
            </td>
        </tr>
        
        <tr>
            <td style="height: 343px">
            
            </td>
            <td style="height: 343px">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand">
                    <Columns>
                        <asp:BoundField DataField="rank" HeaderText="RANK" />
                        <asp:TemplateField HeaderText="IMAGE">
                            <ItemTemplate>
                                &nbsp;<asp:ImageButton ID="ImageButton1" runat="server" Height="50px" Width="50px" CommandArgument='<%# Eval("imageid") %>' CommandName="OK" ImageUrl='<%# Eval("image") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:HyperLinkField DataNavigateUrlFields="imageid" DataNavigateUrlFormatString="~/admin/frmDeleteimage.aspx?imgid={0}"
                            HeaderText="COMMENTS" NavigateUrl="~/admin/frmDeleteimage.aspx" Text="Comment" />
                    </Columns>
                    
                </asp:GridView>
            </td>
            <td style="width: 31px; height: 343px;">
                <asp:Image ID="Image1" runat="server" Width ="1000%" Height="90%" />
            </td>
        </tr>
        <tr>
            <td>
          
            </td>
            <td>
            </td>
            <td style="width: 31px">
                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Back</asp:LinkButton>
            </td>
        </tr>
    </table>
</asp:Content>

