Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
entete de la page vb du rapport
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcollin committed Dec 3, 2012
1 parent 9971d9e commit cdf3bf2
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions contenu/HobbyCartes/HobbyCartes/rapport.aspx.vb
@@ -1,14 +1,21 @@
Public Class rapport
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Session("Admin") Is Nothing Then
If Not Boolean.Parse(Session("Admin")) Then
Response.Redirect("Accueil.aspx")
End If
Else
Response.Redirect("Accueil.aspx")
End If
End Sub

'--------------------------------------------------------------------------
' Titre: rapport.aspx.vb
' Auteur: Charles Levesque
' Date: 27 novembre 2012
'--------------------------------------------------------------------------


Public Class rapport
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Session("Admin") Is Nothing Then
If Not Boolean.Parse(Session("Admin")) Then
Response.Redirect("Accueil.aspx")
End If
Else
Response.Redirect("Accueil.aspx")
End If
End Sub

End Class

0 comments on commit cdf3bf2

Please sign in to comment.