<%@ 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>Adjust Targets</title>
    <style type="text/css">


        .style1
        {
            font-size: x-large;
        }
        .style2
        {
            width: 100%;
        }
        .style138
        {
            width: 100%;
            margin-top: 19px;
        }
        .style139
        {
            width: 199px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <p align="center" class="style1">
            &nbsp;&nbsp;&nbsp;&nbsp;Adjust Targets</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>
    
    </div>
    <table class="style2">
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                    AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="NIIN" 
                    DataSourceID="AdjustTargets">
                    <Columns>
                        <asp:BoundField DataField="Shop" HeaderText="Shop" SortExpression="Shop" />
                        <asp:BoundField DataField="NIIN" HeaderText="NIIN" ReadOnly="True" 
                            SortExpression="NIIN" />
                        <asp:BoundField DataField="FSC" HeaderText="FSC" SortExpression="FSC" />
                        <asp:BoundField DataField="Noun" HeaderText="Noun" SortExpression="Noun" />
                        <asp:BoundField DataField="MMAC" HeaderText="MMAC" SortExpression="MMAC" />
                        <asp:BoundField DataField="BO_Tot" HeaderText="BO_Tot" 
                            SortExpression="BO_Tot" />
                        <asp:BoundField DataField="G019C" HeaderText="G019C" SortExpression="G019C" />
                        <asp:BoundField DataField="MDR" HeaderText="MDR" SortExpression="MDR" />
                        <asp:BoundField DataField="Target" HeaderText="Target" 
                            SortExpression="Target" />
                        <asp:BoundField DataField="CNTL-NR" HeaderText="CNTL-NR" 
                            SortExpression="CNTL-NR" />
                        <asp:BoundField DataField="Due Out" HeaderText="Due Out" 
                            SortExpression="Due Out" />
                        <asp:BoundField DataField="MICAP" HeaderText="MICAP" SortExpression="MICAP" />
                        <asp:BoundField DataField="Negotiated goal" HeaderText="Negotiated goal" 
                            SortExpression="Negotiated goal" />
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="AdjustTargets" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:MAE_DREPConnectionString %>" 
                    SelectCommand="SELECT * FROM [targets]"></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>
