<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    Protected Sub btnExit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExit.Click
        Response.Redirect("~/Administrator Menu.aspx", True)
    End Sub
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Cumulative Monthly Prodution Data</title>
    <style type="text/css">


        .style1
        {
            font-size: x-large;
        }
        .style2
        {
            width: 100%;
        }
        .style138
        {
            width: 100%;
        }
        .style139
        {
            width: 199px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    
        <p align="center">
            &nbsp;&nbsp;&nbsp;&nbsp;<span class="style1">Cumulative Monthly Prodution Data</span></p>
        <table class="style138">
            <tr>
                <td class="style139">
            <asp:Button ID="btnExit" runat="server" Height="26px" Text="Back to Administrator Menu" 
                        onclick="btnExit_Click" />
                    </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        <table class="style2">
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        DataKeyNames="NIIN" DataSourceID="CumulativeMonthlyProdutionData">
                        <Columns>
                            <asp:BoundField DataField="NIIN" HeaderText="NIIN" ReadOnly="True" 
                                SortExpression="NIIN" />
                            <asp:BoundField DataField="end month1 prod" HeaderText="end month1 prod" 
                                SortExpression="end month1 prod" />
                            <asp:BoundField DataField="End month2 prod" HeaderText="End month2 prod" 
                                SortExpression="End month2 prod" />
                        </Columns>
                    </asp:GridView>
                    <asp:SqlDataSource ID="CumulativeMonthlyProdutionData" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:MAE_DREPConnectionString %>" 
                        SelectCommand="SELECT * FROM [Monthly Production Archive]">
                    </asp:SqlDataSource>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </form>
</body>
</html>
