/consulta.aspx

http://github.com/carteaga/Tareaasp · ASP.NET · 91 lines · 89 code · 2 blank · 0 comment · 0 complexity · 68e8ab20607b4e7e8307a443f106db6c MD5 · raw file

  1. <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="consulta.aspx.vb" Inherits="consulta" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  3. <style type="text/css">
  4. #TextArea1
  5. {
  6. height: 42px;
  7. width: 233px;
  8. margin-top: 0px;
  9. margin-bottom: 0px;
  10. }
  11. </style>
  12. </asp:Content>
  13. <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  14. <table style="width:100%;">
  15. <tr>
  16. <td class="style4">
  17. &nbsp;</td>
  18. <td class="style5">
  19. &nbsp;</td>
  20. <asp:Label ID="lb_msj" runat="server"></asp:Label>
  21. <td class="style6">
  22. &nbsp;</td>
  23. <td>
  24. &nbsp;</td>
  25. </tr>
  26. <tr>
  27. <td class="style4">
  28. Nombre</td>
  29. <td class="style5">
  30. :</td>
  31. <td class="style6">
  32. <asp:TextBox ID="tx_nombre" runat="server" Width="210px" AutoPostBack="True"></asp:TextBox>
  33. </td>
  34. <td>
  35. <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
  36. ControlToValidate="tx_nombre" ErrorMessage="RequiredFieldValidator"
  37. ForeColor="Red">Campo requerido</asp:RequiredFieldValidator>
  38. </td>
  39. </tr>
  40. <tr>
  41. <td class="style4">
  42. Email</td>
  43. <td class="style5">
  44. :</td>
  45. <td class="style6">
  46. <asp:TextBox ID="tx_email" runat="server" Width="210px" AutoPostBack="True"></asp:TextBox>
  47. </td>
  48. <td>
  49. <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
  50. ControlToValidate="tx_email" ErrorMessage="RequiredFieldValidator"
  51. ForeColor="Red">Campo requerido</asp:RequiredFieldValidator>
  52. <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
  53. ControlToValidate="tx_email" Display="Dynamic"
  54. ErrorMessage="RegularExpressionValidator" ForeColor="Red"
  55. ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">Email invalido</asp:RegularExpressionValidator>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td class="style4">
  60. Consulta</td>
  61. <td class="style5">
  62. :</td>
  63. <td class="style6" rowspan="3">
  64. <asp:TextBox ID="tx_consulta" runat="server" TextMode="MultiLine"
  65. Height="100px" Width="100%"></asp:TextBox>
  66. <asp:Button ID="Button1"
  67. runat="server" style="text-align: center" Text="Enviar" />
  68. </td>
  69. <td>
  70. &nbsp;</td>
  71. </tr>
  72. <tr>
  73. <td class="style4">
  74. &nbsp;</td>
  75. <td class="style5">
  76. &nbsp;</td>
  77. <td>
  78. &nbsp;</td>
  79. </tr>
  80. <tr>
  81. <td class="style4">
  82. &nbsp;</td>
  83. <td class="style5">
  84. &nbsp;</td>
  85. <td>
  86. &nbsp;</td>
  87. </tr>
  88. </table>
  89. </asp:Content>