/consulta.aspx
http://github.com/carteaga/Tareaasp · ASP.NET · 91 lines · 89 code · 2 blank · 0 comment · 0 complexity · 68e8ab20607b4e7e8307a443f106db6c MD5 · raw file
- <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="consulta.aspx.vb" Inherits="consulta" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
- <style type="text/css">
- #TextArea1
- {
- height: 42px;
- width: 233px;
- margin-top: 0px;
- margin-bottom: 0px;
- }
- </style>
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
- <table style="width:100%;">
- <tr>
- <td class="style4">
- </td>
- <td class="style5">
- </td>
- <asp:Label ID="lb_msj" runat="server"></asp:Label>
- <td class="style6">
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td class="style4">
- Nombre</td>
- <td class="style5">
- :</td>
- <td class="style6">
- <asp:TextBox ID="tx_nombre" runat="server" Width="210px" AutoPostBack="True"></asp:TextBox>
- </td>
- <td>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
- ControlToValidate="tx_nombre" ErrorMessage="RequiredFieldValidator"
- ForeColor="Red">Campo requerido</asp:RequiredFieldValidator>
- </td>
- </tr>
- <tr>
- <td class="style4">
- Email</td>
- <td class="style5">
- :</td>
- <td class="style6">
- <asp:TextBox ID="tx_email" runat="server" Width="210px" AutoPostBack="True"></asp:TextBox>
- </td>
- <td>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
- ControlToValidate="tx_email" ErrorMessage="RequiredFieldValidator"
- ForeColor="Red">Campo requerido</asp:RequiredFieldValidator>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
- ControlToValidate="tx_email" Display="Dynamic"
- ErrorMessage="RegularExpressionValidator" ForeColor="Red"
- ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">Email invalido</asp:RegularExpressionValidator>
- </td>
- </tr>
- <tr>
- <td class="style4">
- Consulta</td>
- <td class="style5">
- :</td>
- <td class="style6" rowspan="3">
- <asp:TextBox ID="tx_consulta" runat="server" TextMode="MultiLine"
- Height="100px" Width="100%"></asp:TextBox>
- <asp:Button ID="Button1"
- runat="server" style="text-align: center" Text="Enviar" />
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td class="style4">
- </td>
- <td class="style5">
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td class="style4">
- </td>
- <td class="style5">
- </td>
- <td>
- </td>
- </tr>
- </table>
- </asp:Content>