<%@ Page Language="C#" MasterPageFile="~/MspAlogin.master" AutoEventWireup="true" CodeFile="frmInbox.aspx.cs" Inherits="User_frminbox" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table >
        <tr>
            
            <td >
                <asp:Label ID="Label1" runat="server" Text="INBOX" Font-Bold="True" Font-Size="1em" Font-Underline="True"></asp:Label>
            </td>
            </tr>
            <tr>
            <td > 
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="imageid" OnRowCommand="GridView1_RowCommand"  >
                    <Columns>
                        <asp:BoundField HeaderText="FROM" DataField="username" />
                        <asp:TemplateField HeaderText="IMAGE">
                            <ItemTemplate>
                                &nbsp;<asp:ImageButton ID="ImageButton1" runat="server" Height="75px" Width="75px" CommandArgument='<%# Eval("imageid") %>' ImageUrl='<%# Eval("image") %>' CommandName="OK" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="senddate" HeaderText="DATE" />
                    </Columns>
                    
                </asp:GridView>
                
            </td>
            <td>
                <asp:Image ID="Image1" runat="server" />
            </td>
        </tr>
        
        <tr>
            <td>
                <asp:Button ID="cmddelete" runat="server" Text="DELETE" OnClick="cmddelete_Click" /><asp:LinkButton
                    ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Back</asp:LinkButton>
            </td>
            </tr>
    </table>
</asp:Content>

