codice:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="a.aspx.vb" Inherits="prove_a" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Pagina senza titolo</title> </head> <body> <form id="form1" runat="server"> <div> <asp:Repeater ID="Repeater1" runat="server" EnableViewState="false"> <ItemTemplate> <table> <tr> <td>Nome: </td> <td><%#Eval("nome")%></td> </tr> <tr> <td>Telefono: </td> <td><%#Eval("telefono")%></td> </tr> <tr> <td>Indirizzo: </td> <td><%#Eval("indirizzo")%></td> </tr> <tr> <td>Cellulare: </td> <td><%#Eval("cellulare")%></td> </tr> </table> </ItemTemplate> <SeparatorTemplate> <hr style="width:200px; text-align:left;" /> </SeparatorTemplate> </asp:Repeater> </div> </form> </body> </html>

Rispondi quotando