Ver Mensaje Individual
  #14 (permalink)  
Antiguo 05/07/2012, 13:49
Avatar de stuart_david3
stuart_david3
 
Fecha de Ingreso: agosto-2011
Mensajes: 215
Antigüedad: 12 años, 8 meses
Puntos: 1
Respuesta: Poner varios links para mostrar diferentes campos de una base de datos!

Pues intenté recortar un poco el aspx, básicamente esta así:

Código ASP:
Ver original
  1. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="ConfirmarFunc15.aspx.vb" Inherits="ConfirmarFunc15" %>
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head id="Head1" runat="server">
  7.     <title>Confirma Propuesta 1</title>
  8.  
  9. </head>
  10. <body>
  11.     <form id="form1" runat="server">
  12.     <div>
  13.         <br />
  14.         <span style="font-size: 8pt; font-family: Arial">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  15. <asp:TextBox
  16.                 ID="TextBox1" runat="server" Width="230px"></asp:TextBox>
  17.             &nbsp;&nbsp;</span><span style="font-size: 8pt; font-family: Arial"> &nbsp;&nbsp; &nbsp; &nbsp;
  18.         &nbsp; &nbsp; &nbsp; FOLIO: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><asp:TextBox
  19.                     ID="Text_Folio" runat="server" Width="212px"></asp:TextBox><br />
  20.  
  21.         <asp:Button ID="Button1" runat="server" Text="Mostrar" Width="71px" OnClick="Button1_Click"/>
  22.         &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  23.         <table border=1>
  24.             <tr>
  25.                 <td style="width: 584px; font-size: 7pt; font-family: Arial;">
  26.                     DATOS PERSONALES</td>
  27.                 <td style="width: 455px;
  28.                  font-size: 7pt; font-family: Arial;">
  29.                     SITUACION ACTUAL<br />
  30.                     PLAZA No.
  31.                     <asp:TextBox ID="Text_Plaza1" runat="server"></asp:TextBox></td>
  32.                 <td style="font-size: 7pt; width: 589px; font-family: Arial">
  33.                     SITUACION PROPUESTA<br />
  34.                     PLAZA No.<asp:TextBox ID="Text_Plaza2" runat="server"></asp:TextBox></td>
  35.                 <td colspan="2" style="font-size: 7pt; width: 178px; font-family: Arial">
  36.                     SITUACION PLAZA</td>
  37.             </tr>
  38.             <tr>
  39.                 <td style="width: 584px; font-size: 7pt; font-family: Arial;">
  40.                     Nombre:<br />
  41.                     <asp:TextBox ID="Text_nombre" runat="server" AutoPostBack="true" ontextchanged="Button1_Click" Height="16px" Width="275px" BackColor="Transparent" BorderColor="White"></asp:TextBox></td>
  42.                 <td style="width: 455px; font-size: 7pt; font-family: Arial;">
  43.                     Puesto:<br />
  44.                     <asp:TextBox ID="Text_Puesto1" runat="server" Width="321px"></asp:TextBox></td>
  45.                 <td style="font-size: 7pt; width: 589px; font-family: Arial">
  46.                     Puesto:&nbsp;
  47.                     <br />
  48.                     <asp:TextBox ID="Text_Puesto2" runat="server" Width="301px"></asp:TextBox></td>
  49.                 <td style="font-size: 7pt; width: 954px; font-family: Arial">
  50.                     Nueva Creación</td>
  51.                 <td style="width: 178px; font-size: 7pt; font-family: Arial;">
  52.                     &nbsp;&nbsp;
  53.                     <asp:TextBox ID="Text_Nueva" runat="server" Width="38px"></asp:TextBox></td>
  54.             </tr>
  55.             <tr>
  56.                 <td style="width: 584px; font-size: 7pt; font-family: Arial;">
  57.                     R.P.E.:<asp:TextBox ID="Text_rpe" runat="server" Width="173px" MaxLength="5"></asp:TextBox></td>
  58.                 <td style="width: 455px; font-size: 7pt; font-family: Arial;">
  59.                     Clave: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Adscripción:&nbsp;<br />
  60.                     <asp:TextBox ID="Text_Clave1" runat="server" Width="72px"></asp:TextBox>
  61.                     <asp:TextBox ID="Text_Ubica1" runat="server" Width="223px"></asp:TextBox></td>
  62.                 <td style="font-size: 7pt; width: 589px; font-family: Arial">
  63.                     Clave: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Adscripción:&nbsp;<br />
  64.                     <asp:TextBox ID="Text_Clave2" runat="server" Width="72px"></asp:TextBox>
  65.                     <asp:TextBox ID="Text_Ubica2" runat="server" Width="216px"></asp:TextBox></td>
  66.                 <td style="font-size: 7pt; width: 954px; font-family: Arial">
  67.                     Cambio de Adscipción:</td>
  68.                 <td style="width: 178px; font-size: 7pt; font-family: Arial;">
  69.                     &nbsp;&nbsp;
  70.                     <asp:TextBox ID="Text_Cambioads" runat="server" Width="38px"></asp:TextBox></td>
  71.             </tr>
  72.             <tr>
  73.                 <td style="width: 584px; font-size: 7pt; font-family: Arial;">
  74.                     Fecha de Antigüedad:<asp:TextBox ID="Text_Feant" runat="server" AutoPostBack="true" ontextchanged="Button1_Click" Width="171px" BackColor="White" BorderColor="White"></asp:TextBox></td>
  75.                 <td style="width: 455px; font-size: 7pt; font-family: Arial;">
  76.                     Gpo. Org.:
  77.                     <asp:TextBox ID="Text_GO1" runat="server" Width="58px"></asp:TextBox>
  78.                     &nbsp; N.D.:&nbsp;
  79.                     <asp:TextBox ID="Text_ND1" runat="server" Width="41px"></asp:TextBox>.</td>
  80.                 <td style="font-size: 7pt; width: 589px; font-family: Arial">
  81.                     Gpo. Org.:
  82.                     <asp:TextBox ID="Text_GO2" runat="server" Width="47px"></asp:TextBox>&nbsp;
  83.                     N.D.:
  84.                     <asp:TextBox ID="Text_ND2" runat="server" Width="42px"></asp:TextBox></td>
  85.                 <td style="font-size: 7pt; width: 954px; font-family: Arial">
  86.                     Cambio de Nominación:</td>
  87.                 <td style="width: 178px; font-size: 7pt; font-family: Arial;">
  88.                     &nbsp;&nbsp;
  89.                     <asp:TextBox ID="Text_Cambionom" runat="server" Width="38px"></asp:TextBox></td>
  90.             </tr>
  91.             <tr>
  92.                 <td style="width: 584px; font-size: 7pt; font-family: Arial;">
  93.                     Escolaridad:<asp:TextBox ID="Text_Escolar" runat="server" AutoPostBack="true" OnTextChanged="Button1_Click" Width="219px" BackColor="White" BorderColor="White"></asp:TextBox></td>
  94.                 <td style="width: 455px; font-size: 7pt; font-family: Arial;">
  95.                     CeCo:<br />
  96.                     <asp:TextBox ID="Text_Ceco1" runat="server" Width="316px"></asp:TextBox></td>
  97.                 <td style="font-size: 7pt; width: 589px; font-family: Arial">
  98.                     CeCo:
  99.                     <br />
  100.                     <asp:TextBox ID="Text_Ceco2" runat="server" Width="301px"></asp:TextBox></td>
  101.                 <td style="font-size: 7pt; width: 954px; font-family: Arial">
  102.                     Cambio de Nível Salarial</td>
  103.                 <td style="width: 178px; font-size: 7pt; font-family: Arial;">
  104.                     &nbsp; &nbsp;<asp:TextBox ID="Text_Cambioniv" runat="server" Width="38px"></asp:TextBox></td>
  105.             </tr>
  106.             <tr>
  107.                 <td style="font-size: 7pt; width: 584px; font-family: Arial">
  108.                 </td>
  109.                 <td style="font-size: 7pt; width: 455px; font-family: Arial">
  110.                     Salario Diario:<asp:TextBox ID="Text_Sal1" runat="server"></asp:TextBox></td>
  111.                 <td style="font-size: 7pt; width: 589px; font-family: Arial">
  112.                     Salario Diario:<asp:TextBox ID="Text_Sal2" runat="server"></asp:TextBox></td>
  113.                 <td style="font-size: 7pt; width: 954px; font-family: Arial">
  114.                 </td>
  115.                 <td style="font-size: 7pt; width: 178px; font-family: Arial">
  116.                 </td>
  117.             </tr>
  118.             <tr>
  119.                 <td style="width: 584px; font-size: 7pt; font-family: Arial; height: 84px;">
  120.                     Es Trabajador Primer Ingreso:<br />
  121.                     SI: &nbsp;
  122.                     <asp:TextBox ID="Text_Ingre1" runat="server" Width="30px" BackColor="White" BorderColor="White" ReadOnly="True"></asp:TextBox>
  123.                     &nbsp; NO:<asp:TextBox ID="Text_Ingre2" runat="server" Width="30px" BackColor="White" BorderColor="White" ReadOnly="True"></asp:TextBox></td>
  124.                 <td style="width: 455px; font-size: 7pt; font-family: Arial; height: 84px;">
  125.                     Vigencia:<br />
  126.                     De: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  127.                     <asp:TextBox ID="Text_Inic1" runat="server"></asp:TextBox>
  128.                     &nbsp; &nbsp;
  129.                     <br />
  130.                     A:<br />
  131.                     <asp:TextBox ID="Text_Terc1" runat="server"></asp:TextBox></td>
  132.                 <td style="font-size: 7pt; width: 589px; font-family: Arial; height: 84px;">
  133.                     Vigencia:<br />
  134.                     De:<br />
  135.                     <asp:TextBox ID="Text_Inic2" runat="server"></asp:TextBox>
  136.                     &nbsp; &nbsp; &nbsp; &nbsp;<br />
  137.                     A<br />
  138.                     <asp:TextBox ID="Text_Terc2" runat="server"></asp:TextBox></td>
  139.                 <td style="font-size: 7pt; width: 954px; font-family: Arial; height: 84px;">
  140.                     Otros:</td>
  141.                 <td style="width: 178px; font-size: 7pt; font-family: Arial; height: 84px;">
  142.                     &nbsp; &nbsp;<asp:TextBox ID="Text_Otros" runat="server" Width="38px"></asp:TextBox></td>
  143.             </tr>
  144.         </table>
  145.         <br />
  146.         <br />
  147.            
  148.        
  149.         <br />
  150.     </div>
  151.     </form>
  152. </body>
  153. </html>

Última edición por stuart_david3; 05/07/2012 a las 13:58