<%@ Page Language="c#" Codebehind="AdmZatrudnienieZakresyPrac.aspx.cs" AutoEventWireup="True" Inherits="KOLKaP_WEB.KOLKaP.AdmZatrudnienieZakresyPrac" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
  <title>AdmZatrudnienieZakresyPrac</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 colspan="2"><asp:Label ID="lblError" runat="server"></asp:Label></td>
      </tr>
      <tr>
        <td colspan="2"><asp:Label ID="lblKomunikat" runat="server"></asp:Label></td>
      </tr>
      <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" align="right">
          <asp:Button ID="btnWybierz" runat="server" Text="Wybierz" CssClass="aspButton" OnClick="btnWybierz_Click"></asp:Button>
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <asp:DataGrid ID="dgZakresy" runat="server" CssClass="aspGrid " AllowSorting="True"
            AutoGenerateColumns="False" DataSource="<%# dvZakresyPrac %>" Width="100%">
            <AlternatingItemStyle CssClass="TableItemAlt"></AlternatingItemStyle>
            <ItemStyle CssClass="TableItem"></ItemStyle>
            <HeaderStyle CssClass="TableHeader"></HeaderStyle>
            <Columns>
              <asp:TemplateColumn>
                <ItemTemplate>
                  <asp:CheckBox ID="cbWybierz" runat="server"></asp:CheckBox>
                </ItemTemplate>
              </asp:TemplateColumn>
              <asp:BoundColumn Visible="False" DataField="ID_ZAKRESY" SortExpression="ID_ZAKRESY"
                HeaderText="ID_ZAKRESY"></asp:BoundColumn>
              <asp:BoundColumn DataField="NAZWA" SortExpression="NAZWA" HeaderText="Nazwa">
                <HeaderStyle Width="20%"></HeaderStyle>
              </asp:BoundColumn>
              <asp:BoundColumn DataField="STANOWISKO" SortExpression="STANOWISKO" HeaderText="Stanowisko">
                <HeaderStyle Width="20%"></HeaderStyle>
              </asp:BoundColumn>
              <asp:BoundColumn DataField="TRESC" SortExpression="TRESC" HeaderText="Treść">
                <HeaderStyle Width="60%"></HeaderStyle>
              </asp:BoundColumn>
            </Columns>
            <PagerStyle Position="Top" BackColor="LightGray" CssClass="Pager" Mode="NumericPages">
            </PagerStyle>
          </asp:DataGrid></td>
      </tr>
    </table>
  </form>
</body>
</html>
