<%@ Page language="c#" Codebehind="enterorder.aspx.cs" AutoEventWireup="false" Inherits="loopsandconditionals.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="WebForm1" method="post" runat="server">
			<asp:TextBox id="txtQty" style="Z-INDEX: 108; LEFT: 127px; POSITION: absolute; TOP: 60px" runat="server"
				Width="157" Height="24" EnableViewState="False"></asp:TextBox>
			<asp:label id="lblItem" style="Z-INDEX: 101; LEFT: 45px; POSITION: absolute; TOP: 25px" runat="server"
				Width="70" Height="19" EnableViewState="False">Produkt</asp:label>
			<asp:label id="lblQty" style="Z-INDEX: 102; LEFT: 45px; POSITION: absolute; TOP: 60px" runat="server"
				Width="70px" Height="19px" EnableViewState="False">Ilość:</asp:label>
			<asp:button id="btnAdd" style="Z-INDEX: 103; LEFT: 291px; POSITION: absolute; TOP: 60px" runat="server"
				EnableViewState="False" Text="Dodaj"></asp:button>
			<asp:dropdownlist id="lstItems" style="Z-INDEX: 104; LEFT: 127px; POSITION: absolute; TOP: 25px" runat="server"
				Width="157" EnableViewState="False">
				<asp:ListItem Value="Notebook">Komputer przenośny</asp:ListItem>
				<asp:ListItem Value="Desktop">Komputer biurkowy</asp:ListItem>
				<asp:ListItem Value="FlatMon">Monitor LCD</asp:ListItem>
				<asp:ListItem Value="FatMon">Monitor CRT</asp:ListItem>
			</asp:dropdownlist>
			<asp:datagrid id="grdItems" style="Z-INDEX: 105; LEFT: 47px; POSITION: absolute; TOP: 103px" runat="server"
				Width="376px" EnableViewState="False" AutoGenerateColumns="False">
				<Columns>
					<asp:BoundColumn DataField="Name" HeaderText="Nazwa">
						<HeaderStyle HorizontalAlign="Center" ForeColor="White" BackColor="Black"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="Quantity" HeaderText="Ilość">
						<HeaderStyle HorizontalAlign="Center" ForeColor="White" BackColor="Black"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="Description" HeaderText="Opis">
						<HeaderStyle HorizontalAlign="Center" ForeColor="White" BackColor="Black"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="Price" HeaderText="Cena za sztukę">
						<HeaderStyle HorizontalAlign="Center" ForeColor="White" BackColor="Black"></HeaderStyle>
					</asp:BoundColumn>
				</Columns>
			</asp:datagrid>
			<asp:label id="lblEmpty" style="Z-INDEX: 106; LEFT: 51px; POSITION: absolute; TOP: 166px" runat="server"
				Width="284px" Visible="False">Nic jeszcze nie kupiłeś – Wstydź się!</asp:label>
			<asp:hyperlink id="lnkOrder" style="Z-INDEX: 107; LEFT: 256px; POSITION: absolute; TOP: 288px"
				runat="server" EnableViewState="False" NavigateUrl="finishorder.aspx">Zrealizuj zamówienie</asp:hyperlink>
		</form>
	</body>
</HTML>
