<%@ Page Language="c#" Codebehind="AdmZatrudnienieEtaty.aspx.cs" AutoEventWireup="True" Inherits="KOLKaP_WEB.KOLKaP.AdmZatrudnienieEtaty" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
  <title>AdmZatrudnienieEtaty</title>
  
  <meta content="C#" name="CODE_LANGUAGE" />
  <meta content="JavaScript" name="vs_defaultClientScript" />
  
  <link href="../Web.css?2" type="text/css" rel="stylesheet" />
</head>
<body class="Table" oncontextmenu="return false" style="margin-left:0; margin-right:0; margin-top:0">
  <form id="Form1" method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%">
      <tr>
        <td style="height: 20px">
          <asp:Button ID="btnPowrot" runat="server" Text="Powrót" CssClass="aspButton" OnClick="btnPowrot_Click">
          </asp:Button>
        </td>
        <td style="height: 20px; text-align:right"></td>
      </tr>
      <tr>
        <td colspan="2">
          <asp:DataGrid ID="dgEtaty" runat="server" CssClass="aspGrid " Width="100%" DataSource="<%# dvEtaty %>"
            AutoGenerateColumns="False" AllowSorting="True">
            <AlternatingItemStyle CssClass="TableItemAlt"></AlternatingItemStyle>
            <ItemStyle CssClass="TableItem"></ItemStyle>
            <HeaderStyle CssClass="TableHeader"></HeaderStyle>
            <Columns>
              <asp:ButtonColumn Text="Wybierz" ButtonType="PushButton" CommandName="Select"></asp:ButtonColumn>
              <asp:BoundColumn Visible="False" DataField="ID_ETATU" SortExpression="ID_ETATU" HeaderText="ID_ETATU">
              </asp:BoundColumn>
              <asp:BoundColumn DataField="KOD" SortExpression="KOD" HeaderText="Kod">
                <HeaderStyle Width="20%"></HeaderStyle>
              </asp:BoundColumn>
              <asp:BoundColumn DataField="NAZWA" SortExpression="NAZWA" HeaderText="Nazwa">
                <HeaderStyle Width="40%"></HeaderStyle>
              </asp:BoundColumn>
              <asp:BoundColumn DataField="LICZNIK" SortExpression="LICZNIK" HeaderText="Licznik">
                <HeaderStyle Width="20%"></HeaderStyle>
              </asp:BoundColumn>
              <asp:BoundColumn DataField="MIANOWNIK" SortExpression="MIANOWNIK" HeaderText="Mianownik">
                <HeaderStyle Width="20%"></HeaderStyle>
              </asp:BoundColumn>
            </Columns>
            <PagerStyle Position="Top" BackColor="LightGray" CssClass="Pager" Mode="NumericPages">
            </PagerStyle>
          </asp:DataGrid>
        </td>
      </tr>
      <tr>
        <td colspan="2"><asp:Label ID="lblError" runat="server"></asp:Label></td>
      </tr>
    </table>
  </form>
</body>
</html>
