<%@ Page Language="c#" Codebehind="AdmWspPracownicy.aspx.cs" AutoEventWireup="True"
    Inherits="KOLKaP_WEB.KOLKaP.AdmWspPracownicy" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>AdmWspPracownicy</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="TableLTR0" oncontextmenu="return false">
    <form id="Form1" method="post" runat="server">
        <table class="Table" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tbody>
                <tr>
                    <td>
                    </td>
                    <td align="right">
                        <asp:Button ID="btnPowrot" runat="server" Width="90px" CssClass="Button" Text="Powrót"
                            OnClick="btnPowrot_Click"></asp:Button></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblError" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:DataGrid ID="dgPracownicy" runat="server" Width="100%" CssClass="aspGrid" AutoGenerateColumns="False"
                            DataMember="PRACOWNICY_LIST" DataSource="<%# dsWspolpraca %>">
                            <SelectedItemStyle CssClass="TableItemSelected"></SelectedItemStyle>
                            <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_PRACOWNIKA" SortExpression="ID_PRACOWNIKA"
                                    HeaderText="ID_PRACOWNIKA"></asp:BoundColumn>
                                <asp:BoundColumn Visible="False" DataField="ID_KTH_ALT" SortExpression="ID_KTH_ALT"
                                    HeaderText="ID_KTH_ALT"></asp:BoundColumn>
                                <asp:BoundColumn DataField="IMIE" SortExpression="IMIE" HeaderText="Imię">
                                    <HeaderStyle Width="20%"></HeaderStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="NAZWISKO" SortExpression="NAZWISKO" HeaderText="Nazwisko">
                                    <HeaderStyle Width="20%"></HeaderStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="NAZWA_SKR" SortExpression="NAZWA_SKR" HeaderText="Nazwa skr&#243;cona">
                                    <HeaderStyle Width="20%"></HeaderStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="PESEL" SortExpression="PESEL" HeaderText="PESEL">
                                    <HeaderStyle Width="20%"></HeaderStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="NIP" SortExpression="NIP" HeaderText="NIP">
                                    <HeaderStyle Width="20%"></HeaderStyle>
                                </asp:BoundColumn>
                            </Columns>
                            <PagerStyle BackColor="LightGray" CssClass="Pager"></PagerStyle>
                        </asp:DataGrid></td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
