<%@ Page language="c#" Codebehind="AdmPracownicyCsk.aspx.cs" AutoEventWireup="True" Inherits="KOLKaP_WEB.KOLKaP.AdmPracownicyCsk" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>AdmPracownicyCsk</title>
		<meta name="vs_showGrid" content="True">
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK rel="stylesheet" type="text/css" href="../Web.css?2">
	</HEAD>
	<body oncontextmenu="return false" class="Body" leftMargin="0" rightMargin="0">
		<form id="Form1" method="post" runat="server">
			<table class="Body" border="0" cellSpacing="0" cellPadding="0" width="100%">
				<tr>
					<td colSpan="6"><asp:label id="lblOpis" runat="server" Font-Size="Medium" Font-Bold="True">Wybierz pracownika</asp:label></td>
				</tr>
				<tr>
					<td colSpan="6"><asp:label id="lblError" runat="server" EnableViewState="False"></asp:label></td>
				</tr>
				<tr>
					<td vAlign="bottom" width="20%" style="height: 35px"><small>Nazwisko</small><asp:textbox id="tbNazwisko" runat="server" Width="100%"></asp:textbox></td>
					<td vAlign="bottom" width="20%" style="height: 35px"><small>Imię</small>
						<asp:textbox id="tbImie" runat="server" Width="100%"></asp:textbox></td>
					<td vAlign="bottom" width="20%" style="height: 35px"><small>Pesel</small><asp:textbox id="tbPesel" runat="server" Width="100%"></asp:textbox></td>
					<td vAlign="bottom" width="20%" style="height: 35px"><small>NIP</small>
						<asp:textbox id="tbNip" runat="server" Width="100%"></asp:textbox></td>
					<td vAlign="bottom" width="10%" style="height: 35px"><asp:button id="btnOdswiez" runat="server" Width="90px" CssClass="Button" Text="Odśwież" onclick="btnOdswiez_Click"></asp:button></td>
					<td vAlign="bottom" width="10%" style="height: 35px"><asp:button id="btnPowrot" runat="server" Width="90px" CssClass="Button" Text="Powrót" onclick="btnPowrot_Click"></asp:button></td>
				</tr>
			</table>
			<br>
			<table border="0" cellSpacing="0" cellPadding="0" width="100%" height="100%">
				<tbody>
					<tr>
						<td height="9" vAlign="bottom" width="100%" colSpan="2"><asp:label id="lblPracownicy" runat="server" Font-Size="11px" Font-Bold="True" Width="100%"
								Visible="False" Font-Names="Tahoma,Arial,Helvetica"></asp:label></td>
					</tr>
					<tr>
						<td vAlign="top" colSpan="2">
							<asp:DataGrid id="dgPracownicy" runat="server" Width="100%" CssClass="aspGrid" AutoGenerateColumns="False">
								<AlternatingItemStyle CssClass="TableItemAlt"></AlternatingItemStyle>
								<ItemStyle CssClass="TableItem"></ItemStyle>
								<HeaderStyle CssClass="TableHeader"></HeaderStyle>
								<Columns>
									<asp:BoundColumn Visible="False" DataField="IuPracownika" SortExpression="IuPracownika" HeaderText="IuPracownika"></asp:BoundColumn>
									<asp:ButtonColumn Text="Wybierz" ButtonType="PushButton" CommandName="WYBIERZ"></asp:ButtonColumn>
									<asp:BoundColumn DataField="Nazwisko" SortExpression="Nazwisko" HeaderText="Nazwisko"></asp:BoundColumn>
									<asp:BoundColumn DataField="Imie" SortExpression="Imie" HeaderText="Imię"></asp:BoundColumn>
									<asp:BoundColumn DataField="NazwaSkrocona" SortExpression="NazwaSkrocona" HeaderText="Nazwa Skrocona"></asp:BoundColumn>
									<asp:BoundColumn DataField="NazwaPelna" SortExpression="NazwaPelna" HeaderText="Nazwa Pelna"></asp:BoundColumn>
									<asp:BoundColumn DataField="NazwaPelna2" SortExpression="NazwaPelna2" HeaderText="Nazwa Pelna 2"></asp:BoundColumn>
									<asp:BoundColumn DataField="Pesel" SortExpression="Pesel" HeaderText="Pesel"></asp:BoundColumn>
									<asp:BoundColumn DataField="Nip" SortExpression="Nip" HeaderText="Nip"></asp:BoundColumn>
									<asp:BoundColumn DataField="Regon" SortExpression="Regon" HeaderText="Regon"></asp:BoundColumn>
									<asp:BoundColumn DataField="DataUrodz" SortExpression="DataUrodz" HeaderText="DataUrodz"></asp:BoundColumn>
									<asp:BoundColumn DataField="IdKontrahenta" SortExpression="IdKontrahenta" HeaderText="IdKontrahenta"></asp:BoundColumn>
									<asp:BoundColumn DataField="Login" SortExpression="Login" HeaderText="Login"></asp:BoundColumn>
									<asp:BoundColumn DataField="Email" SortExpression="Email" HeaderText="Email"></asp:BoundColumn>
								</Columns>
								<PagerStyle BackColor="LightGray" CssClass="Pager"></PagerStyle>
							</asp:DataGrid>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</body>
</HTML>