Codigo: xxx01
nombre: xxxxm
Direccion: direcxxx
--------------------
Codigo: xxx02
nombre: xxxxm
Direccion: direcxxx
--------------------
Codigo: xxx03
nombre: xxxxm
Direccion: direcxxx
Espero su ayuda ..Gracias de antemano.
|
|
#1 (permalink) |
![]() Fecha de Ingreso: noviembre-2002
Ubicación: Callao - Perú
Mensajes: 1.109
|
Codigo: xxx01 nombre: xxxxm Direccion: direcxxx -------------------- Codigo: xxx02 nombre: xxxxm Direccion: direcxxx -------------------- Codigo: xxx03 nombre: xxxxm Direccion: direcxxx Espero su ayuda ..Gracias de antemano.
__________________
SaLuDoS dE: PePeLuChO dEl PeRú PaRa El MuNdO |
|
|
|
|
|
#4 (permalink) |
![]() Fecha de Ingreso: noviembre-2004
Mensajes: 2.334
|
por ejemplo si tienes los datos en un datareader llamado dr, utilizando un label
while dr.read label1.text += "Codgio: " & dr("codigo") label1.text += "Nombre: " & dr("nombre") label1.text += "Dirección: " & dr("direccion") label1.text += "----------------" end while |
|
|
|
|
|
#7 (permalink) |
|
Moderador
![]() ![]() |
Es mas.. si no te quieres complicar.. usa un datalist y le indicas que repita en fora vertical.. te podría quedar así:
Cita:
Y listo.. le pasas con un datatable el datasource a tu datalist.. y el se encargará de hacer lo demás...<asp:DataList id="DataList1" runat="server">
<ItemTemplate> <table border="0" width="100%"> <tr> <td>Código</td> <td><%# Container.DataItem("codigoPostal") %></td> </tr> <tr> <td>Nombre</td> <td><%# Container.DataItem("campoNombre") %></td> </tr> <tr> <td>Dirección</td> <td><%# Container.DataItem("campoDireccion") %></td> </tr> </table> </ItemTemplate> </asp:DataList> Salu2 ![]()
__________________
Nadie roba nada ya que en la vida todo se paga . . . |
|
|
|
![]() |
| Herramientas | |
| Desplegado | |
|
|