<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body style="text-align: center">
    <form id="form1" runat="server">
    <div style="text-align: center">
        <span style="font-size: 16pt; font-family: Verdana"><strong><span style="color: #0000cc">
            KSIĘGA GOŚCI&nbsp;</span><table cellpadding="0"
            cellspacing="0" style="width: 479px; height: 114px" id="TABLE1">
            <tr>
                <td style="width: 11px; height: 30px">
                    <span style="font-size: 14pt">imię:</span></td>
                <td style="width: 2px; height: 30px; text-align: left;">
                    <asp:TextBox ID="TextBox1" runat="server" Width="259px"></asp:TextBox></td>
                <td style="width: 80px; height: 30px; text-align: left">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="Podaj imię" Font-Size="10pt">*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 11px; height: 30px">
                    <span style="font-size: 14pt">email:</span></td>
                <td style="width: 2px; height: 30px; text-align: left;">
                    <asp:TextBox ID="TextBox2" runat="server" Width="259px"></asp:TextBox></td>
                <td style="width: 80px; height: 30px; text-align: left">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                        ErrorMessage="Podaj adres e-mail" Font-Size="10pt">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox2"
                        ErrorMessage="adres e-mail jest niepoprawny" Font-Size="10pt" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td style="width: 11px; height: 30px">
                    <span style="font-size: 14pt">wpis:</span></td>
                <td style="width: 2px; height: 30px">
                    <asp:TextBox ID="TextBox3" runat="server" Width="259px"></asp:TextBox></td>
                <td style="width: 80px; height: 30px; text-align: left">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
                        ErrorMessage="Wpis nie może być pusty " Font-Size="10pt">*</asp:RequiredFieldValidator></td>
            </tr>
        </table>
            &nbsp;
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="Dodaj" /><br />
            <asp:Label ID="Label1" runat="server" Text="Gości online:"></asp:Label><br />
            </strong></span></div>
        <br />
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List"
            HeaderText="Pola zaznaczone na czerwono są wymagane:" />
        <br />
        &nbsp;
    </form>
</body>
</html>
