<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FormSeguro.aspx.cs" Inherits="FormSeguro" %>
<html>
<head runat="server">
    <title>Exemplo de formulário seguro</title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 26px;
        }
    </style>
</head>
<body>
    <form id="form1" defaultfocus="" runat="server">
    <div>
        <table class="style1">
            <tr>
                <td style="text-align: right">
                    Nome do produto:
                </td>
                <td>
                    <asp:TextBox ID="txtNome" MaxLength="40" runat="server" Width="163px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    Preço:
                </td>
                <td>
                    <asp:TextBox ID="txtPreco" MaxLength="10" runat="server" Width="70px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2" style="text-align: right">
                    Unidades no estoque:
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtUnidadeEstoque" MaxLength="4" runat="server" Width="43px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td class="style2">
                    <asp:Panel ID="Panel1" runat="server" Height="75px" Width="159px" GroupingText="Esgotado"
                        Style="text-align: left">
                        <br />
                        <asp:RadioButton ID="rdbSim" runat="server" GroupName="esgotado" Text="Sim" />
                        &nbsp;&nbsp;
                        <asp:RadioButton ID="rdbNao" runat="server" GroupName="esgotado" Text="Não" Checked="True" />
                        <br />
                        <br />
                    </asp:Panel>
                    <br />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnEnviar" runat="server" OnClick="btnEnviar_Click" Text="Enviar" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Label ID="Label1" runat="server" ForeColor="Blue"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
