En VB.NET
For i As Integer = 0 To Session.Count - 1
Response.Write(Session.Keys(i).ToString() & ": " & Session(i).ToString() & "<br>")
Next
En C#.NET
for (int i = 0; i <= Session.Count - 1; i++) {
Response.Write(Session.Keys[i].ToString() + ": " + Session[i].ToString() + "<br>");
}
No hay comentarios:
Publicar un comentario